# Flush pattern in multiline

**URL:** <https://discuss.elastic.co/t/flush-pattern-in-multiline/172786>\
**Category:** Logstash\
**Created:** [March 18, 2019, 1:49pm UTC](https://discuss.elastic.co/t/flush-pattern-in-multiline/172786 "2019-03-18T13:49:02Z")\
**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 18, 2019, 1:49pm UTC](https://discuss.elastic.co/t/flush-pattern-in-multiline/172786/1 "2019-03-18T13:49:02Z")

</div>

Hi I am Doing Data Transformation in Logstash. I need to parse a block of pattern in Logstash.

I am using multiine given below  
multiline {  
pattern =\> "^[" #Start of Block  
what =\> "previous"  
negate=\> true  
}

Now I need to specify end of block. I saw one option called **flush\_pattern** when surfing over. But its not working. Its throwing error _[logstash.filters.multiline] Unknown setting 'flush\_pattern' for multiline_

Is there any way to specify end of a multiline message???

Regards  
Sanriya

---

<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 15, 2019, 1:49pm UTC](https://discuss.elastic.co/t/flush-pattern-in-multiline/172786/2 "2019-04-15T13:49:03Z")

</div>

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