Default username and password for Elasticsearch 7.15

Hi,

I just installed Elasticsearch 7.15.1 on macOS Catalina, and I set the following in Elasticsearch.yml in order to enable security:

xpack.security.enabled: true

Now, I'm prompted for a username and password, but I don't know what they are. I've seen various posts that it's admin / elasticadmin, elastic / changeme, etc., but none of these work.

Can someone please tell me the default username and password? Also, where can I change these values?

Cheers,

Harry

After you set xpack.security.enabled: true the next step is to do the password portion.

1 Like

That worked---cheers, Aaron! The instructions say, " After you set a password for the elastic user, you cannot run the elasticsearch-setup-passwords command a second time."

What do you do if you need to change the password again?

You can change it in Kibana -> Stack Management -> Users or using the API.

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