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=>http://192.168.30.31:9200/, :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:http://192.168.30.31:9200/>, :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::BadResponseCodeError, :error=>"Got response code '401' contacting Elasticsearch at URL 'http://192.168.30.31:9200/'"}

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.