Event filtering by command