Operations 4 min read

Where to Find Easysearch’s Initial Password and How to Retrieve It

Easysearch 1.15.x no longer saves the initial password in initialize.log for security reasons, so the article explains two ways to obtain it—checking the startup log for the bootstrap credential or resetting it with the reset_admin_password.sh script—and shows how to verify the password with curl.

Mingyi World Elasticsearch
Mingyi World Elasticsearch
Mingyi World Elasticsearch
Where to Find Easysearch’s Initial Password and How to Retrieve It

1. Easysearch initialization password location

In Easysearch version 1.15.x the initial password is no longer stored in initialize.log for security reasons.

After deploying a single‑node or multi‑node Easysearch cluster, you need to obtain the initial password using one of the following methods.

2. Method 1: View the startup log

This is similar to Elasticsearch; the password is shown only on the first startup.

##########################################################################
✅ Easysearch is ready to use!
You can connect to the cluster using the following bootstrap credential via API:
curl -ku admin:+t?Yinx0 #jHgf6uWgSRwfbsP https://localhost:9200
Or visit the web based management console: https://localhost:9200/_ui/
🔑 IMPORTANT: Please save the password shown above in a secure location.
└── NOTE: This initial password is only valid for the first startup.

3. Method 2: Reset the password

Use this when the startup console log has been cleared and the password cannot be retrieved.

Locate the script reset_admin_password.sh under the bin directory and execute it.

The execution result is shown below:

4. Summary

Regardless of the method used, verify the password locally to ensure successful access. You can test the credential with the following command:

curl -ku admin:+t?Yinx0 #jHgf6uWgSRwfbsP https://localhost:9200

A successful response is indicated as shown in the screenshot below:

If you have a need for a domestic Elasticsearch alternative, consider using Easysearch.

Feel free to leave comments if you have any questions.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

DeploymentElasticsearchEasysearchinitial passwordreset_admin_password.sh
Mingyi World Elasticsearch
Written by

Mingyi World Elasticsearch

The leading WeChat public account for Elasticsearch fundamentals, advanced topics, and hands‑on practice. Join us to dive deep into the ELK Stack (Elasticsearch, Logstash, Kibana, Beats).

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.