ElasticsearchOutput::RecoverableRequestFailure error="could not push logs to Elasticsearch cluster

Ingesting traffic from td-agent to elasticsearch index created, I see the process fails in the ingestion after some days working fine.

This is the error I got and the index stop ingresing traffic:

2020-01-20 05:38:44 +0100 [warn]: #0 dump an error event: error_class=Fluent::Plugin::ElasticsearchOutput::RecoverableRequestFailure error="could not push logs to Elasticsearch cluster ({:host=>"elasticsearch-logging.mirada.lab", :port=>80, :scheme=>"http"}): Connection refused - connect(2) for (Errno::ECONNREFUSED)"
location="/opt/td-agent/embedded/lib/ruby/gems/2.5.0/gems/fluent-plugin-elasticsearch-3.8.0/lib/fluent/plugin/out_elasticsearch.rb:886:in `rescue in send_bulk'"


it seems there is either no Elasticsearch instance listening on or maybe the process is down, or the it cannot be reached via the network. Please ensure that Elasticsearch is started and listening on that address/port and it can be reached from the logging component.


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