Rounds a numeric input field how=round (default), how=floor or how=ceil.

ParameterTypeRequiredDefaultDescription
asstringfalse The output name of the field to round. Defaults to the same as the input field.
fieldstringtrue The names of the field to round.
howstringfalseroundHow to round (round, ceil, floor).

Examples

Round a number:

humio
round(myvalue)

Round a number:

humio
timechart(function=max(value)) | round(_max, how=floor)