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] If an argument name is not given, field is the default argument.

max() Examples

What was the maximum responsetime:

logscale
max(responsetime)