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?
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?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.