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

**URL:** <https://discuss.elastic.co/t/elasticsearchoutput-recoverablerequestfailure-error-could-not-push-logs-to-elasticsearch-cluster/217326>\
**Category:** Elasticsearch\
**Created:** [January 31, 2020, 8:49am UTC](https://discuss.elastic.co/t/elasticsearchoutput-recoverablerequestfailure-error-could-not-push-logs-to-elasticsearch-cluster/217326 "2020-01-31T08:49:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tania\_Saez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tania_saez/32/47626_2.png) [@Tania\_Saez](https://discuss.elastic.co/u/Tania_Saez)\
**Post date:** [January 31, 2020, 8:49am UTC](https://discuss.elastic.co/t/elasticsearchoutput-recoverablerequestfailure-error-could-not-push-logs-to-elasticsearch-cluster/217326/1 "2020-01-31T08:49:25Z")

</div>

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 10.2.1.14:9200 (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'"

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [January 31, 2020, 9:11am UTC](https://discuss.elastic.co/t/elasticsearchoutput-recoverablerequestfailure-error-could-not-push-logs-to-elasticsearch-cluster/217326/2 "2020-01-31T09:11:35Z")

</div>

Hey,

it seems there is either no Elasticsearch instance listening on `10.2.1.14:9200` 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.

--Alex

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 28, 2020, 9:11am UTC](https://discuss.elastic.co/t/elasticsearchoutput-recoverablerequestfailure-error-could-not-push-logs-to-elasticsearch-cluster/217326/3 "2020-02-28T09:11:38Z")

</div>

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