# Grok filter not working (but ok in herokuapp). It even prints nothing in the output

**URL:** <https://discuss.elastic.co/t/grok-filter-not-working-but-ok-in-herokuapp-it-even-prints-nothing-in-the-output/109412>\
**Category:** Logstash\
**Created:** [November 28, 2017, 2:17pm UTC](https://discuss.elastic.co/t/grok-filter-not-working-but-ok-in-herokuapp-it-even-prints-nothing-in-the-output/109412 "2017-11-28T14:17:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JeremyLG](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jeremylg/32/22144_2.png) [@JeremyLG](https://discuss.elastic.co/u/JeremyLG)\
**Post date:** [November 28, 2017, 2:17pm UTC](https://discuss.elastic.co/t/grok-filter-not-working-but-ok-in-herokuapp-it-even-prints-nothing-in-the-output/109412/1 "2017-11-28T14:17:43Z")

</div>

Hey,

I have seen that multiple people had my problem, but I can't seem to find why did I do wrong. Can someone explain me why this doesn't work.

Log example :

> Jun 2 00:00:00 192.168.14.4 date=2016-06-01 time=23:56:05 devname=POPB-FW-01 devid=FG1K2D3I14800220 logid=1059028704 type=utm subtype=app-ctrl eventtype=app-ctrl-all level=information vd="root" appid=40568 user="" srcip=10.20.4.35 srcport=52438 srcintf="VRF-PUBLIC" dstip=125.209.230.238 dstport=443 dstintf="OUT" proto=6 service="HTTPS" sessionid=424666004 applist="Monitor-all" appcat="Web.Others" app="HTTPS.BROWSER" action=pass hostname="[lcs.naver.com](http://lcs.naver.com)" url="/" msg="Web.Others: HTTPS.BROWSER," apprisk=medium

Code Logstash :

```
input {
    file {
        path => "C:/Users/huhu/Documents/Arena/temp.txt"
        start_position => "beginning"
    }
}

filter {
	grok {
	match => {
		"message" => "%{SYSLOGTIMESTAMP:timestamp}"
		}
	}
}

output {

   stdout { codec => rubydebug }

}

```

Thanks in advance

---

<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 27, 2017, 9:24am UTC](https://discuss.elastic.co/t/grok-filter-not-working-but-ok-in-herokuapp-it-even-prints-nothing-in-the-output/109412/5 "2017-12-27T09:24:27Z")

</div>

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