Used to compute multiple aggregate functions over the input.
logscale
...
| stats(function=[min(), max()])
Is equivalent to:
logscale
[min(),max()]
It produces one row of data that contains both min and max results.
Function Traits: Aggregate
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
function [a] | Array of Aggregate Functions | optional | count(as=_count) | Specifies which aggregate functions to perform on each group. |
The parameter name for function
can be omitted; the following forms are equivalent:
logscale
stats("count(as=_count)")
and:
logscale
stats(function="count(as=_count)")