fabueno
(Bernard Fabien)
April 17, 2019, 5:19am
1
Hi, I'm just "training" with grok pattern, and with this log file :
Apr 17 14:26:49 192.168.0.61 firewall 514865 11:12:13:14:15:16 abcd123|-= .>
If I do : grok { match => { ["message", "%{SYSLOGTIMESTAMP:date} %{IP:ip}"] }
}
It works. But if I add %{WORD:service} to the line, it stop working.
Why ?
Badger
April 17, 2019, 12:53pm
2
What result do you get with this configuration?
input { generator { count => 1 message => 'Apr 17 14:26:49 192.168.0.61 firewall 514865 11:12:13:14:15:16 abcd123' } }
filter { grok { match => ["message", "%{SYSLOGTIMESTAMP:date} %{IP:ip} %{WORD:service}"] } }
1 Like
system
(system)
Closed
May 15, 2019, 12:53pm
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.