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. The expression has access to the wrapped payload.
Example
Section titled “Example”Match a payload great than or equal to 0
- type: filter.expr params: pattern: "Payload >= 0"