Logstash fails to start with central configuration(bug in 6.0.0-beta1)

I have Elasticsearch6.0.0beta1 and logstash6.0.0beta1 installed on my Mac. Both have x-pack plugin installed.
My Elasticsearch.yml contains "xpack.security.enabled: false" and everything works. When trying to start Logstash with central configuration, it won't start since I don't use pack security.

xpack.management.enabled: true
xpack.management.elasticsearch.url: "http://localhost:9200/"
xpack.management.logstash.poll_interval: 5s
xpack.management.pipeline.id: ["local_cloudtrail"]

Message on runtime:
[2017-08-10T19:45:26,911][FATAL][logstash.runner ] An unexpected error occurred! {:error=>#<ArgumentError: You must set the password using the "xpack.management.elasticsearch.password" in logstash.yml>

The centralised management feature is part of our Gold/Platinum level functionality, so the expectation there is that the cluster would have authentication enabled to protect access to the configs.

It's not mentioned in the docs though and we will get that updated accordingly.

Thanks for your reply. Would it be documented, or modified? Not all subscription users have authentication.

Yes they do, see Subscriptions | Elastic Stack Products & Support | Elastic

I meant that not all subscriptions users are using pack security, like I did now :slight_smile:

Oh right, not sure why you'd not be using it!

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