Aggregating (count) by regex

Hello @Luciano_Borges -

I hope this is helpful, the problem seems similar - Regex Search in Kibana