# Grok Filter Pattern

**URL:** <https://discuss.elastic.co/t/grok-filter-pattern/123694>\
**Category:** Logstash\
**Created:** [March 13, 2018, 8:23am UTC](https://discuss.elastic.co/t/grok-filter-pattern/123694 "2018-03-13T08:23:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![muthu\_kumar1](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@muthu\_kumar1](https://discuss.elastic.co/u/muthu_kumar1)\
**Post date:** [March 13, 2018, 8:23am UTC](https://discuss.elastic.co/t/grok-filter-pattern/123694/1 "2018-03-13T08:23:14Z")

</div>

Hi please help me to get pattern for the below log string in grok

[22/11/2017#09:06:37:126] 1511341597077#O##servername#3322132#SCREEN#Controller#getURL#STEP#W1W8#RN19191199999111#231672998#Success#48

---

<div class="post-metadata">

**Author:** ![adolfo.diaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adolfo.diaz/32/28778_2.png) [@adolfo.diaz](https://discuss.elastic.co/u/adolfo.diaz)\
**Post date:** [March 13, 2018, 9:19am UTC](https://discuss.elastic.co/t/grok-filter-pattern/123694/2 "2018-03-13T09:19:14Z")

</div>

Hi friend

is this line or multiline log format?

BR

---

<div class="post-metadata">

**Author:** ![muthu\_kumar1](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@muthu\_kumar1](https://discuss.elastic.co/u/muthu_kumar1)\
**Post date:** [March 13, 2018, 9:47am UTC](https://discuss.elastic.co/t/grok-filter-pattern/123694/3 "2018-03-13T09:47:11Z")

</div>

Single line log

---

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [March 13, 2018, 12:54pm UTC](https://discuss.elastic.co/t/grok-filter-pattern/123694/4 "2018-03-13T12:54:37Z")

</div>

> [@muthu\_kumar1](#):
>
> [22/11/2017#09:06:37:126] 1511341597077#O##servername#3322132#SCREEN#Controller#getURL#STEP#W1W8#RN19191199999111#231672998#Success#48

It is not heard to learn and easy to test.

Go [Here](http://grokdebug.herokuapp.com/) and start testing 🙂

Here is a starter..  
`\[%{GREEDYDATA:timestamp}\] %{NUMBER:number}#%{WORD:letter}`

---

<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:** [April 10, 2018, 12:54pm UTC](https://discuss.elastic.co/t/grok-filter-pattern/123694/5 "2018-04-10T12:54:48Z")

</div>

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