# Miltiline filter timeout?

**URL:** <https://discuss.elastic.co/t/miltiline-filter-timeout/49614>\
**Category:** Logstash\
**Created:** [May 10, 2016, 6:55am UTC](https://discuss.elastic.co/t/miltiline-filter-timeout/49614 "2016-05-10T06:55:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![diwertowski](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@diwertowski](https://discuss.elastic.co/u/diwertowski)\
**Post date:** [May 10, 2016, 6:55am UTC](https://discuss.elastic.co/t/miltiline-filter-timeout/49614/1 "2016-05-10T06:55:13Z")

</div>

Hi,  
I have three multiline filter and they work fine. I test it with 4 "blocks" of logs. The last block don't reach elasticsearch, only if I'll shutdown logstash. I think the last block is waiting for another event. It's ok but in production i see a problem, what if logstash didn't get for hours not another event?! Is there a way to set a timeout for multiline?

Any ideas? Thanks for your help!

---

<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:58am UTC](https://discuss.elastic.co/t/miltiline-filter-timeout/49614/2 "2017-07-06T04:58:25Z")

</div>

Closed on July 6, 2017, 4:58am UTC


