lusis/chef-logstash — pull request #238 by glnds (2014-02-07 11:05:28+00:00)
Title: Codec multiline fix

Current errorous generation:

file {
codec => [multiline ['negate', true, 'pattern', '^\[\#\|\d{4}', 'patterns_dir', '/opt/logstash/agent/etc/patterns', 'what' , 'previous']]
'format' => 'plain'
'path' => '/var/log/glassfish/greyhound/server.log'
'type' => 'glassfish'
}

With this fix changed to:

file {
codec => multiline {
'negate' => true
'pattern' => '^[#|\d{4}'
'patterns_dir' => '/opt/logstash/agent/etc/patterns'
'what' => 'previous'
}
'format' => 'plain'
'path' => '/var/log/glassfish/greyhound/server.log'
'type' => 'glassfish'
}