# Harvester\_buffer\_size - how to determine most efficient value?

**URL:** https://discuss.elastic.co/t/harvester-buffer-size-how-to-determine-most-efficient-value/303037
**Category:** Beats
**Tags:** filebeat
**Created:** [April 22, 2022, 1:02pm UTC](https://discuss.elastic.co/t/harvester-buffer-size-how-to-determine-most-efficient-value/303037 "2022-04-22T13:02:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mikewillis](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@mikewillis](https://discuss.elastic.co/u/mikewillis)
#### Post date: [April 22, 2022, 1:02pm UTC](https://discuss.elastic.co/t/harvester-buffer-size-how-to-determine-most-efficient-value/303037/1 "2022-04-22T13:02:21Z")

</div>

The documentation says what the `harvest_buffer_size` setting of the `log` input is for, but nothing about why one might want to change it. [Log input | Filebeat Reference [7.17] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/7.17/filebeat-input-log.html#_harvester_buffer_size_3)

I asked about this in another post and got a reply:

> tweaking `harvester_buffer_size` value has impact on the performance. When optimisation is a concern it is possible to set the most efficient value that can vary according to the environment.

[Harvester\_buffer\_size - why increase it? - #2 by Andrea\_Spacca](https://discuss.elastic.co/t/harvester-buffer-size-why-increase-it/299226/2)

But my follow up question, How would one know what the most efficient value might be?, got no response. So how would one know?

---

<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: [May 20, 2022, 3:02pm UTC](https://discuss.elastic.co/t/harvester-buffer-size-how-to-determine-most-efficient-value/303037/2 "2022-05-20T15:02:54Z")

</div>

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