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

ParameterTypeRequiredDefaultDescription
asstringfalse_maxName of output field.
fieldstringtrue Field to extract a number from. [a]
typestringfalse description

[a] When you provide only one parameter, the implied parameter is field

Examples

What was the maximum responsetime:

humio
max(responsetime)