Filter Node
Quick Reference
Filter Statement A FEEL filter statement to filter records. Result must be boolean.
💡 Tip: You can learn more about FEEL (Fleak EVAL) here.
Overview
The filter node allows you to selectively process events in your ZephFlow pipeline based on specific conditions. It evaluates each incoming event against an expression written in the Fleak Eval Expression Language (FEEL). Events that evaluate to true are passed to downstream nodes; otherwise, they are dropped from the pipeline.
Configuration
| Field | Description | Required | Placeholder |
|---|---|---|---|
| Filter | A FEEL expression that evaluates to boolean. Events where the expression returns true pass through; others are dropped. | Yes | $.events |
Examples
In FEEL expressions, $ refers to the current event record. Use dot-path notation (e.g. $.field) to access fields.
Keep only error events:
$.level == "ERROR"
Filter by numeric threshold:
$.amount > 100 and $.status == "completed"
Check field existence:
$.email != null
Related nodes
- eval: Transform events using the same expression language