test( ) Query Function

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


Name Type Required Default Description
expression expression Yes The expression to test.

The unnamed parameter is expression.


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

test(foo < bar)