Hello,
I parse the hostname of the syslog source event with the following grok:
grok {
match
=> [ "message", "%{SYSLOGTIMESTAMP:timestamp} %{SYSLOGHOST:hostname}
%{GREEDYDATA:mess}" ]
}
It works well for hostname in one word (eg: greentop) but doesn't work for hostname like this green_top.
Any idea ?
Thanks