Filter and tag events which occurs less frequently


Using logstash is it possible to tag events which occur less frequently. Like say if an event occurs less than 10 times in a period of 2 minutes, then tag all such events as "LOWFREQ" .

I don't believe this is possible with any of the stock plugins.