# Filebeat multiline.max\_lines limit

**URL:** <https://discuss.elastic.co/t/filebeat-multiline-max-lines-limit/277474>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 30, 2021, 2:43pm UTC](https://discuss.elastic.co/t/filebeat-multiline-max-lines-limit/277474 "2021-06-30T14:43:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adityasingh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adityasingh/32/91017_2.png) [@adityasingh](https://discuss.elastic.co/u/adityasingh)\
**Post date:** [June 30, 2021, 2:43pm UTC](https://discuss.elastic.co/t/filebeat-multiline-max-lines-limit/277474/1 "2021-06-30T14:43:13Z")

</div>

Hi,

I had a query regarding filebeat's **multiline.max\_lines** option. I know the default value for this is 500 and we can configure it to a number of our choice and the lines after the configured number will be ignored while parsing and creating the event. But if I have to read a whole file as a single event, I won't know the maximum limit to set. Is there a max value that can be set for this option ? Like for harvester limit we set it to 0 and it means unlimited, is there a possibility to configure max\_lines just like that ?

---

<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 28, 2021, 4:43pm UTC](https://discuss.elastic.co/t/filebeat-multiline-max-lines-limit/277474/2 "2021-07-28T16:43:49Z")

</div>

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