Logstash throwing error after enabling the xpack security

Hi Team after enabling the xpack to create user in elasticsearch. The logstash is throwing error. 


logstash[9213][WARN ][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"http://x.x.x.x:9200/", :error_type=>LogStash::Outputs::ElasticSearch ::HttpClient::Pool::BadResponseCodeError, :error=>"Got response code '401' contacting Elasticsearch at URL 'http://x.x.x.x:9200/' "}

Please help me on this.

Elasticsearch version 7.2.1
Kibana Version 7.2.1
Logstash Version 7.2.0

Can anyone help me on this?

401 is Unauthorized, so either the user and password supplied to the elasticsearch output is incorrect, or the user does not have the permissions required for whatever it is attempting to do.

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