# New line not parsed in grok processor

**URL:** <https://discuss.elastic.co/t/new-line-not-parsed-in-grok-processor/304285>\
**Category:** Elasticsearch\
**Tags:** ingest-pipeline\
**Created:** [May 9, 2022, 6:10pm UTC](https://discuss.elastic.co/t/new-line-not-parsed-in-grok-processor/304285 "2022-05-09T18:10:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![NadyLeez123](https://avatars.discourse-cdn.com/v4/letter/n/7bcc69/32.png) [@NadyLeez123](https://discuss.elastic.co/u/NadyLeez123)\
**Post date:** [May 9, 2022, 6:10pm UTC](https://discuss.elastic.co/t/new-line-not-parsed-in-grok-processor/304285/1 "2022-05-09T18:10:44Z")

</div>

Hi

We just upgrade our cluster from 7.6.2 to 7.15.1 and pipeline are not working anymore.

For example, this grok pattern was working well with the "\n" to parse the new line in the message.

 ![grok1](https://us1.discourse-cdn.com/elastic/original/3X/1/9/19822a6579a3d926dbe6ceab6a105d9bc955d211.png)

But now, here is what we get when we run the pipeline. the "\n" is interpreted, producing an error.  
 ![grok2](https://us1.discourse-cdn.com/elastic/original/3X/6/7/67a6190e4b7a67a92579707cc8c1749c975c3ec9.png)

Thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 10, 2022, 5:57am UTC](https://discuss.elastic.co/t/new-line-not-parsed-in-grok-processor/304285/2 "2022-05-10T05:57:28Z")

</div>

Please don't post pictures of text, logs or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them 🙂

Are you putting those into Kibana Dev Tools?

---

<div class="post-metadata">

**Author:** ![NadyLeez123](https://avatars.discourse-cdn.com/v4/letter/n/7bcc69/32.png) [@NadyLeez123](https://discuss.elastic.co/u/NadyLeez123)\
**Post date:** [May 10, 2022, 9:37pm UTC](https://discuss.elastic.co/t/new-line-not-parsed-in-grok-processor/304285/3 "2022-05-10T21:37:15Z")

</div>

Yes, in Kibana Dev Tools, using ingest pipelines.

Thanks

---

<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:** [June 7, 2022, 9:37pm UTC](https://discuss.elastic.co/t/new-line-not-parsed-in-grok-processor/304285/4 "2022-06-07T21:37:25Z")

</div>

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