max() Query Function

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

Parameters

Name

Type

Required

Default

Description

type

string

No

description

field

string

Yes

Field to extract a number from.

as

string

No

_max

Name of output field.

The implied parameter is field.

Examples

What was the maximum responsetime:

humio
max(responsetime)