# How can i parse one field further into different fields in another grok pattern?

**URL:** <https://discuss.elastic.co/t/how-can-i-parse-one-field-further-into-different-fields-in-another-grok-pattern/58441>\
**Category:** Logstash\
**Created:** [August 19, 2016, 9:49am UTC](https://discuss.elastic.co/t/how-can-i-parse-one-field-further-into-different-fields-in-another-grok-pattern/58441 "2016-08-19T09:49:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucifer\_hbp](https://avatars.discourse-cdn.com/v4/letter/l/a6a055/32.png) [@Lucifer\_hbp](https://discuss.elastic.co/u/Lucifer_hbp)\
**Post date:** [August 19, 2016, 9:49am UTC](https://discuss.elastic.co/t/how-can-i-parse-one-field-further-into-different-fields-in-another-grok-pattern/58441/1 "2016-08-19T09:49:29Z")

</div>

I have following match statement for an log event in which data2 field will be having some events repeated with similar pattern:

match =\>["message","%{GREEDYDATA:data}process id %{NUMBER:pid}%{GREEDYDATA:data1}BBBBBB%{GREEDYDATA:data2}"]

I want to parse data2 field further into individual fields.....  
How to do so.....  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [August 19, 2016, 10:50am UTC](https://discuss.elastic.co/t/how-can-i-parse-one-field-further-into-different-fields-in-another-grok-pattern/58441/2 "2016-08-19T10:50:19Z")

</div>

Just add another grok filter.

```nohighlight
grok {
  match => ["data2", "..."]
}

```

---

<div class="post-metadata">

**Author:** ![Lucifer\_hbp](https://avatars.discourse-cdn.com/v4/letter/l/a6a055/32.png) [@Lucifer\_hbp](https://discuss.elastic.co/u/Lucifer_hbp)\
**Post date:** [August 22, 2016, 1:29pm UTC](https://discuss.elastic.co/t/how-can-i-parse-one-field-further-into-different-fields-in-another-grok-pattern/58441/3 "2016-08-22T13:29:08Z")

</div>

Thnks

---

<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:** [July 6, 2017, 4:42am UTC](https://discuss.elastic.co/t/how-can-i-parse-one-field-further-into-different-fields-in-another-grok-pattern/58441/4 "2017-07-06T04:42:18Z")

</div>


