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

ParameterTypeRequiredDefaultDescription
asstringfalse_sumName of output field.
fieldstringtrue Field to extract a number from and sum over.

Examples

How many bytes did our webserver send per minute

humio
bucket(function=sum(bytes_sent))