Logstash - aggregate results

Thanks! I also tried to aggregate in elasticsearch but I am facing other issue. Can you please see this topic ? Logstash - aggregation_fields in elasticsearch filter plugin
Maybe I am missing something.