Quick start
Drop events wherepath equals /health:
Actions
| Action | What happens |
|---|---|
drop (default) | Remove events that match — keep everything else |
keep | Keep only events that match — remove everything else |
Operators
| Operator | Type | Description |
|---|---|---|
eq | String/Number | Equal to value |
ne | String/Number | Not equal to value |
contains | String | Contains substring |
starts_with | String | Starts with prefix |
ends_with | String | Ends with suffix |
regex | String | Matches regex pattern |
exists | Any | Field exists (no value needed) |
gt | Numeric | Greater than |
gte | Numeric | Greater than or equal |
lt | Numeric | Less than |
lte | Numeric | Less than or equal |
Multiple conditions
When you need more than one condition, use theconditions array and set match to control how they combine:
| Match mode | Logic |
|---|---|
all (default) | All conditions must match (AND) |
any | Any condition can match (OR) |
Examples
Keep only errors from production:Reference
| Field | Default | Description |
|---|---|---|
type | — | "filter" |
action | "drop" | "drop" or "keep" |
match | "all" | "all" (AND) or "any" (OR) |
field | — | Field path (single-condition shorthand) |
operator | "eq" | Operator for single-condition shorthand |
value | — | Value to compare (not needed for exists) |
conditions | — | Array of {field, operator, value} objects |
enabled | true | Set to false to disable |