# Logstash Grok New Line Syntax

**URL:** <https://discuss.elastic.co/t/logstash-grok-new-line-syntax/192148>\
**Category:** Logstash\
**Created:** [July 25, 2019, 1:00am UTC](https://discuss.elastic.co/t/logstash-grok-new-line-syntax/192148 "2019-07-25T01:00:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [July 25, 2019, 12:37pm UTC](https://discuss.elastic.co/t/logstash-grok-new-line-syntax/192148/2 "2019-07-25T12:37:59Z")

</div>

Use a literal newline in the configuration to match a multiline pattern, like [this](https://discuss.elastic.co/t/dissector-mapping-pattern-not-found/186509/2).

---

_[View the full topic](https://discuss.elastic.co/t/logstash-grok-new-line-syntax/192148)._
