Statistics Query Functions

Humio's query functions take a set of events, parameters, or configurations; and produce, reduce, or modify values within that set, or within the events themselves within the query pipeline.

Table: Statistics Query Functions

FunctionImplied ArgumentAvailabilityDescription
max([as], field, [type])field Finds the largest number for the specified field over a set of events.
min([as], field, [type])field Finds the smallest number for the specified field over a set of events.
percentile([accuracy], [as], field, [percentiles])field Returns one event with a field for each percentile specified.
range([as], field)field Finds numeric range between smallest and largest numbers for field over a set of events.
sample([field], [percentage])percentage Samples the event stream.
session([function], [maxpause])function Collects events into sessions, and aggregates them.
stats([function])function Used to compute multiple aggregate functions over the input.
stdDev([as], field)field Calculates the standard deviation for a field over a set of events.