filter events by kind