Aggregation & Correlation
Common Syntax
Both aggregation and correlation statements have the following generic structure:
<function-command> [<function-specific-params>] <timespan-param> <group-by-clause> <where-clause>
Some example correlation statements:
count timespan=5m group_by field1 where field3 > 100
distinct_count(myfield) timespan=30s
temporal(ordered=true) [ padasRule="internal_error" || padasRule="new_network_connection" ] timespan=1m group_by internal_ip, remote_ip