Aggregate logs of different grok matches

It is. There is an example of something like that here.