# Failed to flush the buffer

**URL:** <https://discuss.elastic.co/t/failed-to-flush-the-buffer/351538>\
**Category:** Kibana\
**Created:** [January 22, 2024, 12:31pm UTC](https://discuss.elastic.co/t/failed-to-flush-the-buffer/351538 "2024-01-22T12:31:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Music\_World](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/music_world/32/122338_2.png) [@Music\_World](https://discuss.elastic.co/u/Music_World)\
**Post date:** [January 22, 2024, 12:31pm UTC](https://discuss.elastic.co/t/failed-to-flush-the-buffer/351538/1 "2024-01-22T12:31:41Z")

</div>

Hi @all  
I am using elasticsearch version: 7.16.2 and fluentd version: 1.14.4 on aws eks cluster and it's throwing bufferoverflow error like  
failed to flush the buffer. retry\_times=0 next\_retry\_time=2024-01-19 07:43:43 +0000 chunk="60f428e5b5afa3f00a2c579591a1d111" error\_class=Fluent::Plugin::ElasticsearchOutput::RecoverableRequestFailure error="could not push logs to Elasticsearch cluster

So could anyone help me here to resolve this issue?  
Note: I have already tried increasing chunk size and other buffer configuration and i am using file based buffer configuration.

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [January 23, 2024, 9:15am UTC](https://discuss.elastic.co/t/failed-to-flush-the-buffer/351538/2 "2024-01-23T09:15:24Z")

</div>

Hi @Music_World,

It looks to be an issue with the Fluent plugin. I found a [similar issue on StackOverflow](https://stackoverflow.com/questions/64974682/error-class-fluentpluginelasticsearchoutputrecoverablerequestfailure-error) which suggests looking at the `default_timeout` setting. can you check and see if the solution in this thread resolves your issue?

Hope that helps!

---

<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 20, 2024, 9:15am UTC](https://discuss.elastic.co/t/failed-to-flush-the-buffer/351538/3 "2024-02-20T09:15:49Z")

</div>

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