# Pipeline.batch.delay ignored?

**URL:** <https://discuss.elastic.co/t/pipeline-batch-delay-ignored/140697>\
**Category:** Logstash\
**Created:** [July 19, 2018, 9:27am UTC](https://discuss.elastic.co/t/pipeline-batch-delay-ignored/140697 "2018-07-19T09:27:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jetnet](https://avatars.discourse-cdn.com/v4/letter/j/a87d85/32.png) [@jetnet](https://discuss.elastic.co/u/jetnet)\
**Post date:** [July 19, 2018, 9:27am UTC](https://discuss.elastic.co/t/pipeline-batch-delay-ignored/140697/1 "2018-07-19T09:27:24Z")

</div>

hello all,

I've got LS 6.3.1 with the following config:

```auto
path.data: /var/lib/logstash
pipeline.workers: 6
pipeline.batch.size: 1000
pipeline.batch.delay: 30000
path.config: /etc/logstash/conf.d
queue.type: persisted
path.logs: /var/log/logstash

xpack.monitoring.elasticsearch.url: ["http://eshost"]
xpack.monitoring.elasticsearch.ssl.verification_mode: none
xpack.monitoring.collection.interval: 10s
xpack.monitoring.elasticsearch.username: "elastic"
xpack.monitoring.elasticsearch.password: "xxxxxx"

```

the input rate is low, and I expect the new events are available in ES every 30 seconds, but the situation is: LS is waiting until a batch gets filled (1000 events - it's taking a while), and only then sending it to ES.  
So, I suspect, the parameter `pipeline.batch.delay` is ignored.

Is it a bug?  
Thanks!

---

<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:** [August 16, 2018, 9:27am UTC](https://discuss.elastic.co/t/pipeline-batch-delay-ignored/140697/2 "2018-08-16T09:27:37Z")

</div>

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