IF statement block only if number of messages received

Hello, so we have a requirement to forward emails using the logstash email plugin when certain conditions exist. We have been using this for the last few years with no issues, we are looking to try implement an if statement based on the number of messages received. For example, if more than x5 syslogs where the message field contains a string then send via the email output, but only if 5 are received within a certain time-frame. Is this possible?

Thanks

1 Like

Have you looked at the Throttle Filter?

Not yet, will have a read. Thanks.

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