How to logstash patterns/regex/co

match => { "message" => “ %{SYSLOGTIMESTAMP:syslog_timestamp} %{SYSLOGHOST:syslog_hostname} %{INT} %{WORD:syslog_program}: %{GREEDYDATA:syslog-message} “

drop INT if you don’t want it or replace it with \d+

1 Like