We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I couldn't reset the password for the logstash user, apparently it is not using the right URL for elastic.
Running this works:
docker-compose exec elasticsearch bin/elasticsearch-reset-password --batch --user elastic --url http://localhost:9200
The text was updated successfully, but these errors were encountered:
What was the error? Maybe you tried the command before Elasticsearch was ready to service requests?
localhost:9200 is the default already. We run this command in automated tests to initialize passwords, they would start failing if it wasn't the case.
localhost:9200
Sorry, something went wrong.
Hi! I was getting this same error as the screenshot attached (now I am setting up filebeat)
Checking logstash container logs I saw "elasticsearch" was not accessible, but kibana was already set up (was able to set up password and log in).
Tried several times with no luck, but adding --url http://localhost:9200 actually made the script run against elastic's API
--url http://localhost:9200
Did you perform any change to the elasticsearch.yml file? The URL is determined based on the content of this file.
elasticsearch.yml
If you pass the -v flag to your previous command you should be able to see what URL the tool is using.
-v
Hi, no, I did not change anything. Elasticsearch had been up for 10 minutes when I tried to change the passwd.
No branches or pull requests
I couldn't reset the password for the logstash user, apparently it is not using the right URL for elastic.
Running this works:
The text was updated successfully, but these errors were encountered: