Multiline codec not working
Posted: Fri Feb 20, 2015 5:52 am
Good morning,
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)
With this input active, the log files don't show up in nagios. When I remove te codec part, they do though 
Am I doing something wrong and is somebody experiences the same issue?
Cheers,
Stefan
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