# Flush Pattern is Not working

**URL:** <https://discuss.elastic.co/t/flush-pattern-is-not-working/172886>\
**Category:** Logstash\
**Created:** [March 19, 2019, 3:18am UTC](https://discuss.elastic.co/t/flush-pattern-is-not-working/172886 "2019-03-19T03:18:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sanriya\_Krimzn](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@Sanriya\_Krimzn](https://discuss.elastic.co/u/Sanriya_Krimzn)\
**Post date:** [March 19, 2019, 3:18am UTC](https://discuss.elastic.co/t/flush-pattern-is-not-working/172886/1 "2019-03-19T03:18:10Z")

</div>

Hi I am using flush\_pattern in multiline to define the end of a multiline block. It is not working.

Below is my code snippet.  
_multiline { \*  
\* pattern =\> "^["_  
\* what =\> "previous"\*  
\* negate=\> true\*  
\* }\*

If I include flush pattern withing multilint scope it's throwing below error.  
[ERROR][logstash.filters.multiline] Unknown setting 'flush\_pattern' for multiline

How I can specify end of multiline block?????

---

<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, 2019, 3:18am UTC](https://discuss.elastic.co/t/flush-pattern-is-not-working/172886/2 "2019-04-16T03:18:11Z")

</div>

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