# What is the password when I use elasticsearch?

**URL:** <https://discuss.elastic.co/t/what-is-the-password-when-i-use-elasticsearch/234051>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [May 24, 2020, 4:08pm UTC](https://discuss.elastic.co/t/what-is-the-password-when-i-use-elasticsearch/234051 "2020-05-24T16:08:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jun.8](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jun.8/32/68749_2.png) [@Jun.8](https://discuss.elastic.co/u/Jun.8)\
**Post date:** [May 24, 2020, 4:08pm UTC](https://discuss.elastic.co/t/what-is-the-password-when-i-use-elasticsearch/234051/1 "2020-05-24T16:08:44Z")

</div>

Hi, I have a problem with the password of elasticsearch. I'm trying to study Kibana map through a tutorial video.(for South Korea)  
I need to use Suricata logs but I found that I have to modify my password like below. The problem is that I don't know my password, and I don't even think I've made one.  
How to set my password for Elasticsearch?

 ![스크린샷 2020-05-25 오전 1.03.17](https://us1.discourse-cdn.com/elastic/original/3X/3/d/3d58511a3e88fc36ad69b4fbf8d6e4c63ab9ba42.png)

---

<div class="post-metadata">

**Author:** ![KoettingSimon](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@KoettingSimon](https://discuss.elastic.co/u/KoettingSimon)\
**Post date:** [May 24, 2020, 5:11pm UTC](https://discuss.elastic.co/t/what-is-the-password-when-i-use-elasticsearch/234051/2 "2020-05-24T17:11:19Z")

</div>

Hi,  
Per default, no authentication is enabled in elasticsearch.  
You can enable security if you want.

So if you didn't configure authentication you can just comment out the username and password setting.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 25, 2020, 12:58am UTC](https://discuss.elastic.co/t/what-is-the-password-when-i-use-elasticsearch/234051/3 "2020-05-25T00:58:25Z")

</div>

You should definitely be using Security. Check out [https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html).

---

<div class="post-metadata">

**Author:** ![Jun.8](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jun.8/32/68749_2.png) [@Jun.8](https://discuss.elastic.co/u/Jun.8)\
**Post date:** [May 31, 2020, 3:37pm UTC](https://discuss.elastic.co/t/what-is-the-password-when-i-use-elasticsearch/234051/4 "2020-05-31T15:37:36Z")

</div>

where can I find the authentication file? in which directory?  
I'm using elasticsearch and kibana in my localhost (Mac)

---

<div class="post-metadata">

**Author:** ![Jun.8](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jun.8/32/68749_2.png) [@Jun.8](https://discuss.elastic.co/u/Jun.8)\
**Post date:** [May 31, 2020, 3:41pm UTC](https://discuss.elastic.co/t/what-is-the-password-when-i-use-elasticsearch/234051/5 "2020-05-31T15:41:01Z")

</div>

I saw about x-pack setting, but I couldn't find anything related to x-pack security in elasticsearch.yml. Which file can I find about this?

Is xpack security thing not free? above basic level?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 1, 2020, 10:03pm UTC](https://discuss.elastic.co/t/what-is-the-password-when-i-use-elasticsearch/234051/6 "2020-06-01T22:03:25Z")

</div>

Check out [https://www.elastic.co/blog/security-for-elasticsearch-is-now-free](https://www.elastic.co/blog/security-for-elasticsearch-is-now-free)

You will need to install the default distribution, not the `-oss` one to get access to things.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 29, 2020, 10:03pm UTC](https://discuss.elastic.co/t/what-is-the-password-when-i-use-elasticsearch/234051/7 "2020-06-29T22:03:26Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
