Is it possible to do aggregations using Logstash

Collate seems get me the data, but what I am looking for mainly is aggregation over a field.
Can Logstash do that?