Issue with elasticsearch

[logstash.outputs.elasticsearch][main] Attempted to resurrect connection to dead ES instance, but got an error {:url=>"http://newadmin:xxxxxx@localhost:9200/", :exception=>LogStash::Outputs::Elasticsearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [http://localhost:9200/][Manticore::ClientProtocolException] localhost:9200 failed to respond"}

Hello I try to send a file in my elasticsearch with logstash and got this error. Can you help e please?

ClientProtocolException

Are you using http or https?
Have you test ES by curl?
What did you put for network.host in elasticsearch.yml? Default is
Usually helps to set: network.host: 0.0.0.0
Here was explained.

I am using an http.
for network.host I put the ip adress of my machine

I have tried to set my network.host to 0.0.0.0 but it doesn't solve my problem

Have you tried:

curl http://localhost:9200?

yes. It works. But not resolve my problem

What is set in output?

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