Expr Filter
The filter.expr processor evaluates an Expr expression. If the expression evaluates to true then the payload is sent through. This processor will return an error if the expression fails to evaluate.
- type:
filter.expr - params:
- expression: Expr expression to evaluate, must return a boolean
Example
Section titled “Example”Match a payload great than or equal to 0
- type: filter.expr params: expression: "Payload >= 0"