Reset elasticsearch password


I need to reset the password of elasticsearch because I don't know it. And the person who know it, doesn´t work at the company anymore.
How can I reset the password?

Thank you.

Here's how you can retrieve it in ECE 2.4.3. Should be something similar for Elastic Stack as well, but I've never used it so I don't know for sure.

cat /mnt/data/elastic/allocator-ip/services/allocator/managed/elasticsearch/endpoint/instance-xxxxxxx/cluster_data.json

See this answer @talsantos

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