# Grok filter on dynamic source field name

**URL:** https://discuss.elastic.co/t/grok-filter-on-dynamic-source-field-name/153640
**Category:** Logstash
**Created:** [October 23, 2018, 3:13pm UTC](https://discuss.elastic.co/t/grok-filter-on-dynamic-source-field-name/153640 "2018-10-23T15:13:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rodLN](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@rodLN](https://discuss.elastic.co/u/rodLN)
#### Post date: [October 23, 2018, 3:13pm UTC](https://discuss.elastic.co/t/grok-filter-on-dynamic-source-field-name/153640/1 "2018-10-23T15:13:59Z")

</div>

I'm applying a grok filter followed by a kv successfully on a log entry that looks like this:

"Mylog[something=1;somethingelse=NA;another=19163;exception@3257ms=3;total=3258ms;]"

Everything works well for the correctly constructed key=value pairs, but the numeric portion of the 'exception@3257ms=3' entry is dynamic and I end up with many fields named exception@3257, exception@1234, etc.

I want to further parse the field name 'exception@1234' into key = exception value= 1234, is this 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: [November 20, 2018, 3:14pm UTC](https://discuss.elastic.co/t/grok-filter-on-dynamic-source-field-name/153640/2 "2018-11-20T15:14:00Z")

</div>

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