Auto_flush_interval not working inside my exec plugin


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.

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?


Resolved it myself. exec plugin by default wraps all the response line in a single event. So multiline codec is not required.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.