Home / Search/ Language Reference/ Functions/ Cribl Functions/median

median

The median aggregation function returns the middle value of Expression across the group.

Use this function with the summarize, eventstats, and timestats operators.

Syntax

    median( Expression )

Arguments

  • Expression: Expression used for aggregation calculation. Wildcards are not supported for field names.

Example

dataset=myDataset
| summarize median(age)