# Can grok or dissect pattern code lines be wrapped?

**URL:** <https://discuss.elastic.co/t/can-grok-or-dissect-pattern-code-lines-be-wrapped/158652>\
**Category:** Logstash\
**Created:** [November 28, 2018, 9:23pm UTC](https://discuss.elastic.co/t/can-grok-or-dissect-pattern-code-lines-be-wrapped/158652 "2018-11-28T21:23:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RussellBateman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/russellbateman/32/34928_2.png) [@RussellBateman](https://discuss.elastic.co/u/RussellBateman)\
**Post date:** [November 28, 2018, 9:23pm UTC](https://discuss.elastic.co/t/can-grok-or-dissect-pattern-code-lines-be-wrapped/158652/1 "2018-11-28T21:23:04Z")

</div>

I mean it would be nice to be able to wrap very long patterns across one or several more lines for easier viewing and maintenance. Can this be done? My own experimentation suggests it's not possible.

---

<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:** [December 26, 2018, 9:23pm UTC](https://discuss.elastic.co/t/can-grok-or-dissect-pattern-code-lines-be-wrapped/158652/2 "2018-12-26T21:23:04Z")

</div>

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