In our old logstash setup I have a multiline filter for processing log4j logfiles. Because Nagios Log Server has multiple workers and the multiline filter isn't thread safe, the filter has to be migrated to an input codec.
I create a new syslog input and made sure my log4j files are send to port 5545 (using the default rsyslog setup)
Code: Select all
syslog {
type => 'log4j'
port => 5545
codec => multiline {
pattern => "^%{TIMESTAMP_ISO8601}"
negate => true
what => "previous"
}
}Am I doing something wrong and is somebody experiences the same issue?
Cheers,
Stefan