Finds the smallest number for the specified field over a set of events. Result is returned in a field named _min.

ParameterTypeRequiredDefault ValueDescription
asstringoptional[a]_min Name of output field.
field[b]stringrequired  Field to extract a number from.
typestringoptional[a]  description

[a] Optional parameters use their default value unless explicitly set.

[b] The parameter name field can be omitted.

Hide omitted argument names for this function

Show omitted argument names for this function

min() Examples

Return what was the minimum responsetime:

logscale
min(responsetime)

Filter for events with a responsetime greater than 5 seconds:

logscale
min(responsetime)
| _min> 5