Hi,
I am executing a command using exec plugin. I am getting the response OK. I wanted to keep all the response lines in a single event.
exec{
command => "my command"
interval => 300
# To tackle this, I use multiline codec
codec => multiline {
pattern => ".*"
negate => false
what => "previous"
# Event was not processing after terminating the command so I used
auto_flush_interval => 5
}
}
But seems auto_flush_interval is not working.
How can I flush event after my last line. Any suggestions?
Thanks