input { file { path => [ "/var/log/messages", "/var/log/kern.log" ] type => "linux-syslog" } file { path => "/var/log/apache2/access.log" type => "apache-access" } file { path => "/var/log/apache2/error.log" type => "apache-error" } } output { amqp { host => "myamqpserver" exchange_type => "fanout" name => "rawlogs" } amqp { host => "127.0.0.1" exchange_type => "topic" name => "logsniff" } stdout { } } # Filters are applied in the order the appear. filter { multiline { type => "supervisorlogs" pattern => "^\s" what => previous } multiline { type => "testing" pattern => "^\s" what => previous } grok { type => "linux-syslog" pattern => ["%{SYSLOG_SUDO}", "%{SYSLOG_KERNEL}", "%{SYSLOGLINE}" ] } grok { type => "nagios" pattern => "%{NAGIOSLOGLINE}" } #date { #" testing" => fizzle #} }