Expected Behavior: Disabling X-Pack security on Elasticsearch obviates the need for a Logstash management password
Observed Behavior: Logstash complains that it needs a management password
I installed X-Pack on Elasticsearch, Kibana and Logstash (All running 6.0.0-beta2).
My elasticsearch.yml includes the following line:
xpack.security.enabled: false
According to the X-Pack documentation, I do not need a password if I disable security:
xpack.management.elasticsearch.username and xpack.management.elasticsearch.password
If your Elasticsearch is protected with basic authentication, these settings provide the username and password that the Logstash instance uses to authenticate for accessing the configuration data. The password for the elastic user is whatever password you specified when you installed X-Pack and set up authentication.
My Elasticsearch does not use basic authentication, so I would assume I do not need to set a password here.
I believe you need to set xpack.management.elasticsearch.username to a blank value.
It defaults to logstash_system so if you don't set a password it will act as if you have specified a user but no password.
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.