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.
Omitted Argument NamesThe argument name for
function
can be omitted; the following forms of this function are equivalent:logscalestats("count(as=_count)")
and:
logscalestats(function="count(as=_count)")