# Pipeline.batch.delay maximum delay clarification

**URL:** <https://discuss.elastic.co/t/pipeline-batch-delay-maximum-delay-clarification/79158>\
**Category:** Logstash\
**Created:** [March 19, 2017, 2:41am UTC](https://discuss.elastic.co/t/pipeline-batch-delay-maximum-delay-clarification/79158 "2017-03-19T02:41:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Exocomp](https://avatars.discourse-cdn.com/v4/letter/e/ea5d25/32.png) [@Exocomp](https://discuss.elastic.co/u/Exocomp)\
**Post date:** [March 19, 2017, 2:41am UTC](https://discuss.elastic.co/t/pipeline-batch-delay-maximum-delay-clarification/79158/1 "2017-03-19T02:41:58Z")

</div>

Hi,

Reading the documentation [here](https://www.elastic.co/guide/en/logstash/5.2/tuning-logstash.html) it says that:

`Pipeline batch delay is the maximum amount of time in milliseconds that Logstash waits for new messages after receiving an event in the current pipeline worker thread.`

Then it says:

**`The maximum time that Logstash waits between receiving an event and processing that event in a filter is the product of the pipeline.batch.delay and pipeline.batch.size settings.`**

I get that _pipeline.batch.delay_ is how long logstash **can** wait before processing an event. But how does that then explain the above statement for the maximum time. How does the product of _pipeline.batch.delay_ and _pipeline.batch.size_ equal the maximum time that logstash waits before processing an event ?

Thanks,  
E

---

<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:** [April 16, 2017, 2:42am UTC](https://discuss.elastic.co/t/pipeline-batch-delay-maximum-delay-clarification/79158/2 "2017-04-16T02:42:03Z")

</div>

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