sum() Query Function

Calculates the sum for a field over a set of events. Result is returned in a field named _sum.

Parameters

Name

Type

Required

Default

Description

field

string

Yes

Field to extract a number from and sum over.

as

string

No

_sum

Name of output field.

The implied parameter is field.

Examples

How many bytes did our webserver send per minute

humio
bucket(function=sum(bytes_sent))