Error Elasticsearch Unreachable

I use logstash to ingest a csv file in elastic i have this error

[2020-06-27T18:46:09,043][WARN ][logstash.outputs.elasticsearch] Marking url as dead. Last error: [LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError] Elasticsearch Unreachable: [http://elasticsearch:9200/][Manticore::SocketTimeout] Read timed out {:url=>http://elasticsearch:9200/, :error_message=>"Elasticsearch Unreachable: [http://elasticsearch:9200/][Manticore::SocketTimeout] Read timed out", :error_class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError"}

http://elasticsearch:9200/ is the default URL for logstash internal monitoring.
The warning probably means that connection is not possible because there is no host called elasticsearch listening on port 9200, you can test the connection with curl http://elasticsearch:9200/ and will probably get a similar failure (or just ping elasticsearch)

If you do not use monitoring and have no hostname called elasticsearch, you can disable monitoring or change the destination hosts.

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