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

**URL:** <https://discuss.elastic.co/t/fluent-recoverablerequestfailure-error-could-not-push-logs-to-elasticsearch-cluster/212658>\
**Category:** Elasticsearch\
**Created:** [December 20, 2019, 11:57am UTC](https://discuss.elastic.co/t/fluent-recoverablerequestfailure-error-could-not-push-logs-to-elasticsearch-cluster/212658 "2019-12-20T11:57:44Z")\
**Posts on this page:** 2\
**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:** [December 20, 2019, 11:57am UTC](https://discuss.elastic.co/t/fluent-recoverablerequestfailure-error-could-not-push-logs-to-elasticsearch-cluster/212658/1 "2019-12-20T11:57:44Z")

</div>

Hello,

I am having this error trying to send logs from fluentd/td-agent.

2019-12-20 12:46:00 +0100 [warn]: #0 failed to flush the buffer. retry\_time=18 next\_retry\_seconds=2019-12-20 12:46:27 +0100 chunk="59a205d168e33dc874110deadf544b7d" error\_class=Fluent::Plugin::ElasticsearchOutput::RecoverableRequestFailure error="could not push logs to Elasticsearch cluster ({:host=\>"elasticsearch-logging.mirada.lab", :port=\>80, :scheme=\>"http"}): read timeout reached"

With next configuration:

 # equal to -qq option log\_level debug @type tail path /home/tania/runscope\_csv/extract\_data\_izzi.csv pos\_file /home/tania/runscope\_csv/extract\_data\_izzi.csv.pos tag runscope\_test read\_from\_head true @type csv keys customer,endpoint,timestamp,code\_status,total\_response\_time,send\_headers\_ms,dial\_ms,send\_body\_ms,wait\_for\_response\_ms,dns\_lookup\_ms,receive\_response\_ms null\_empty\_string true types send\_headers\_ms:float,send\_body\_ms:float,wait\_for\_response\_ms:float,dns\_lookup\_ms:float,receive\_response\_ms:float,dial\_ms:float,total\_response\_time:float @type elasticsearch logstash\_format true logstash\_prefix runscope\_test logstash\_dateformat %Y.%m.%d # include\_tag\_key true include\_timestamp true host elasticsearch-logging.mirada.lab port 80 index\_name runscope\_test # type\_name \_doc @type file path /var/log/td-agent/buffer/td/runscope.buffer flush\_mode interval retry\_type exponential\_backoff flush\_thread\_count 16 flush\_interval 10s retry\_forever retry\_max\_interval 30 chunk\_limit\_size 256m queue\_limit\_length 256 overflow\_action block #request\_timeout 20s

---

<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:** [January 17, 2020, 11:57am UTC](https://discuss.elastic.co/t/fluent-recoverablerequestfailure-error-could-not-push-logs-to-elasticsearch-cluster/212658/2 "2020-01-17T11:57:45Z")

</div>

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