# \[logstash.filters.grok\] Running grok filter missing in logs to apply grok filter

**URL:** <https://discuss.elastic.co/t/logstash-filters-grok-running-grok-filter-missing-in-logs-to-apply-grok-filter/223218>\
**Category:** Logstash\
**Created:** [March 11, 2020, 8:45pm UTC](https://discuss.elastic.co/t/logstash-filters-grok-running-grok-filter-missing-in-logs-to-apply-grok-filter/223218 "2020-03-11T20:45:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mehak\_Bhargava](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mehak_bhargava/32/54750_2.png) [@Mehak\_Bhargava](https://discuss.elastic.co/u/Mehak_Bhargava)\
**Post date:** [March 11, 2020, 8:45pm UTC](https://discuss.elastic.co/t/logstash-filters-grok-running-grok-filter-missing-in-logs-to-apply-grok-filter/223218/1 "2020-03-11T20:45:15Z")

</div>

I can see that my grok filter for one file isnt working as the debugged log shows below. How can I fix to apply the logstash.filters.grok in below non-grok filter working file\>

```auto
[2020-03-11T13:36:16,801][DEBUG][org.logstash.beats.BeatsHandler][test] [local: xx.x.x.xx:5044, remote: xx.x.x.y:64523] Sending a new message for the listener, sequence: 8

```

Working grok log-

```auto
[2020-03-11T13:28:30,959][DEBUG][org.logstash.beats.BeatsHandler][test] [local: xxx.x.x.x:5044, remote: xxx.x.x.x:58568] Sending a new message for the listener, sequence: 4
[2020-03-11T13:28:30,964][DEBUG][logstash.filters.grok][test] Running grok filter {:event=>#<LogStash::Event:0x94d3e8>}
[2020-03-11T13:28:30,969][DEBUG][logstash.filters.grok][test] Event now: {:event=>#<LogStash::Event:0x94d3e8>}

```

---

<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 8, 2020, 8:45pm UTC](https://discuss.elastic.co/t/logstash-filters-grok-running-grok-filter-missing-in-logs-to-apply-grok-filter/223218/2 "2020-04-08T20:45:18Z")

</div>

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