# Logstash input file codec multiline not working as expected

**URL:** <https://discuss.elastic.co/t/logstash-input-file-codec-multiline-not-working-as-expected/55913>\
**Category:** Logstash\
**Created:** [July 19, 2016, 6:29pm UTC](https://discuss.elastic.co/t/logstash-input-file-codec-multiline-not-working-as-expected/55913 "2016-07-19T18:29:58Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sumitkgaur](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@sumitkgaur](https://discuss.elastic.co/u/sumitkgaur)\
**Post date:** [September 20, 2016, 8:58am UTC](https://discuss.elastic.co/t/logstash-input-file-codec-multiline-not-working-as-expected/55913/4 "2016-09-20T08:58:52Z")

</div>

For me setting auto\_flush\_interval =\> 5 does solve the problem.

---

_[View the full topic](https://discuss.elastic.co/t/logstash-input-file-codec-multiline-not-working-as-expected/55913)._
