On This Page

Home / Search/ Language Reference/ Functions/Cribl Functions

Cribl Functions

Cribl Search supports additional functions that you can use together with the summarize, eventstats, and timestats operators to aggregate your data. We refer to those additional functions as Cribl functions, since they’re specific to Cribl Search.

Cribl Search supports the following Cribl functions:

NameDescription
findearliestReturns the earliest value of an expression across the group.
findearliestifReturns the earliest value of an expression across the group for which a predicate evalutes to true.
findfirstReturns the first observed value of an expression across the group.
findfirstifReturns the first observed value of an expression across the group for which a predicate evalutes to true.
findlastReturns the last observed value of an expression across the group.
findlastifReturns the last observed value of an expression across the group for which a predicate evalutes to true.
findlatestReturns the latest value of an expression across the group.
findlatestifReturns the latest value of an expression across the group for which a predicate evalutes to true.
listReturns the list of values of an expression across the group
medianReturns the middle value of an expression across the group.
medianifReturns the middle value of an expression across the group for which a predicate evalutes to true.
persecondReturns the per-second rate of an expression across the group
persecondifReturns the per-second rate of an expression across the group for which a predicate evalutes to true.
rateReturns the rate observed value of an expression across the group.
rateifReturns the rate observed value of an expression across the group for which a predicate evalutes to true.
sumsqReturns the sum of squares of an expression across the group.
sumsqifReturns the sum of squares of an expression across the group for which a predicate evalutes to true.
valuesReturns all of the distinct values of an expression across the group.