Evaluates an arbitrary expression as a boolean value and filters events when the expression returns true.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
expression [a] | expression | required | The expression to test. | |
[a] The argument name |
Omitted Argument NamesThe argument name for
expression
can be omitted; the following forms of this function are equivalent:logscaletest("value")
and:
logscaletest(expression="value")
These examples show basic structure only; full examples are provided below.
test()
Examples
The following tests if the value of the field foo is less than the value of the field bar:
logscale
test(foo < bar)
This example compares a field value within the LogScale repository:
logscale
test(cputime < 7500)