# Merge two grok

**URL:** <https://discuss.elastic.co/t/merge-two-grok/157083>\
**Category:** Logstash\
**Created:** [November 16, 2018, 2:39pm UTC](https://discuss.elastic.co/t/merge-two-grok/157083 "2018-11-16T14:39:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fr3sh](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@fr3sh](https://discuss.elastic.co/u/fr3sh)\
**Post date:** [November 16, 2018, 2:39pm UTC](https://discuss.elastic.co/t/merge-two-grok/157083/1 "2018-11-16T14:39:27Z")

</div>

Hi I would like to grok two different lines and combine them. Assuming this is my lines:

[2016-03-01 08:55:32,073] message = TEST  
[2016-03-01 09:55:32,073] something  
[2016-03-01 010:55:32,073] telephone\_number = 444666777

I would like to grok and combine the message and telephone number in one. Is it even 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 14, 2018, 2:39pm UTC](https://discuss.elastic.co/t/merge-two-grok/157083/2 "2018-12-14T14:39:38Z")

</div>

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