groupBy()
A query function that organizes events into groups based on field values, enabling aggregation and analysis by category. For example, groupBy(host) would group events by the host field, allowing you to count errors per server or analyze patterns by system. GroupBy is fundamental for statistical analysis and reporting.
Related Content