test() Query Function

Evaluates boolean expression and filter events for which the expression is true.

Parameters

Name

Type

Required

Default

Description

expression

expression

Yes

The expression to test.

The implied parameter is expression.

Examples

The following tests if the value of the field, foo is less than the value of the field, bar:

humio
test(foo < bar)