# Regarding Pipeline Batch Sizing

**URL:** <https://discuss.elastic.co/t/regarding-pipeline-batch-sizing/56705>\
**Category:** Logstash\
**Created:** [July 29, 2016, 8:22am UTC](https://discuss.elastic.co/t/regarding-pipeline-batch-sizing/56705 "2016-07-29T08:22:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dawiro](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@dawiro](https://discuss.elastic.co/u/dawiro)\
**Post date:** [July 29, 2016, 8:22am UTC](https://discuss.elastic.co/t/regarding-pipeline-batch-sizing/56705/1 "2016-07-29T08:22:17Z")

</div>

Hi,  
We use beats to send most of our logs to logstash with the following parameters:

- bulk\_size: 2048
- load\_balanced: yes
- workers: number of logstashes
- pipelining: 2

In logstash we have 8 worker threads with 2 cores and 4GB HEAP. The question I have is does the internal batch sizing in logstash need to correlate with the bulk\_size a beat might be sending? That is, does it need to be larger?

Regards,  
David

---

<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:** [July 6, 2017, 4:46am UTC](https://discuss.elastic.co/t/regarding-pipeline-batch-sizing/56705/2 "2017-07-06T04:46:02Z")

</div>


