Assigns the current value as milliseconds since 1970.

When used in a non-live query, the value of end is fixed to the end of the time interval when the query was issued. For live queries, the value of end is the live value of current end time, which can divert between Humio nodes.

ParameterTypeRequiredDefaultDescription
asstringfalse description

Examples

Assign curr the value of end:

humio
curr := end()

use end() in an assignment

humio
isOld := (end()-@timestamp) > 1000