end() Query Function

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.

Parameters

Name

Type

Required

Default

Description

as

string

No

description

The implied parameter is as.

Examples

assign curr the value of ‘end’

humio
curr := end()

use end() in an assignment

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