Evaluates an arbitrary expression as a boolean value and filters events when the expression returns true.

expressionexpressiontrue The expression to test. [a]

[a] If an argument name is not given, expression is the default argument.

test() Examples

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

test(foo < bar)

This example compares a field value within the LogScale repository:

test(cputime < 7500)