Logstash, ES connection error

I used ubuntu20.04 version and ELK stack 8.3.2 version.
Then, I's working in connecting with logstash and ES.

2022-08-09T02:14:45,699][INFO ][logstash.outputs.elasticsearch][main] Failed to perform request {:message=>"localhost:9200 failed to respond", :exception=>Manticore::ClientProtocolException, :cause=>org.apache.http.NoHttpResponseException: localhost:9200 failed to respond}

[2022-08-09T02:14:45,699][WARN ][logstash.outputs.elasticsearch][main] Attempted to resurrect connection to dead ES instance, but got an error {:url=>"http://localhost:9200/", :exception=>LogStash::Outputs::Elasticsearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [http://localhost:9200/][Manticore::ClientProtocolException] localhost:9200 failed to respond"}

what is this error? This is logstash's logfile.
Thank u for reading!

Please don't post pictures of text, logs or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them :slight_smile:

Thank u! I changed my code!

You have an INFO and a WARNING, but no errors there.

Basically it means it could not contact Elasticsearch for a period of time.

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