There was a bug in 5.6.2, which did not exist in 5.6.0 or 5.6.1, of X-Pack monitoring for Logstash , which makes forces it to require a password even when you are not using authentication with Elasticsearch. There should be a subtly logged error message during the startup of Logstash to that effect.
You must set the password using the xpack.monitoring.elasticsearch.password in logstash.yml
This has been fixed for the forthcoming release of 5.6.3.
Setting any password is enough to satisfy this requirement. For example:
Until Elasticsearch 6.0, all passwords default to "changeme", so this is a solid default to use there as well, but do beware that Elasticsearch 6.0 is going to remove all default passwords.
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.