Logstash plugin flush


(Karthikbox) #1

Hi all,

I've been writing a custom filter plugin for logstash.
I have a cleanup method which needs to be called periodically (lets say 3 sec).
I understand that this is achievable by overriding "flush" method in my plugin. How often will this method be called by LogStash? Is this time interval configurable? Any help would be appreciated.

Thanks.


(system) #2