What is the reason of this issue?

[2019-09-07T02:32:30,096][INFO ][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>, :path=>"/"}
[2019-09-07T02:32:30,099][WARN ][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>#<URI::HTTP:0x66479443 URL:>, :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::BadResponseCodeError, :error=>"Got response code '401' contacting Elasticsearch at URL ''"}

Looks like your Elasticsearch node / cluster is not available. That said, with this little information it is very, very hard to diagnose the problem..

To add to the question, do you have security enabled on your ES cluster? 401 is a Unauthorized response so either the password is wrong or you have a other issue on your cluster.

Thanks pjanzen. It was occurred by the password .

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