Expand description
Aggregator factory namespace.
Each function returns the string template the server’s Aggregators.parse
accepts inside window.aggregations (e.g. "avg(temperature)").
Functions§
- avg
- Average of a numeric field.
- collect_
list - Collect every value of
fieldinto a list. - count
- Event count — no field required.
- distinct_
count - Cardinality of distinct values of
field. - max
- Maximum value of a numeric field.
- min
- Minimum value of a numeric field.
- sum
- Sum of a numeric field:
aggs::sum("amount").