Integration settings: Which events to filter
At a glance
| Audience | Integrations Admin |
| Plan | All plans (Free, Standard, Premium, Enterprise) |
| Where in the app | Integration > Which |
Why and when to use this
Which filters decide which incoming events AlertOps processes at all. Use them to drop noise at the door, such as test environments or informational events.
How filters work
AND conditions: every condition must be true.
OR conditions: at least one condition must be true.
The two sections are related by OR. Each section is saved or deleted as a whole.
With no conditions, every event is processed.

(1) AND conditions: every condition must be true, (2) the two sections are joined by OR, (3) OR conditions: at least one must be true
Add a condition
Click Add AND condition or Add OR condition.
Enter the Field name from your payload, such as environment.
Choose the operator.
Enter one or more values, pressing Enter after each.
Click the check mark to save the section.

(1) the field, using a caret for nested fields, (2) filter operators: Matches Regex, Not Matches Regex, Is Any, Not Is Any, Contains Any, Not Contains Any

(1) Not Is Any, (2) values as chips: press Enter after each one, (3) save, cancel, or delete the AND section, (4) Add OR condition is disabled while you edit AND

(1) the saved filter: severity is not info, (2) edit or delete the section
Editing rules
Only one section can be edited at a time. While you're editing OR conditions, Add AND condition is disabled.
Each section saves with its check mark and deletes as a whole with its trash icon.
Field names are the payload's names; use a caret for nested fields, such as commonLabels^severity.
What happens to a filtered event
A filter doesn't delete the event. AlertOps passes it to the next integration that shares the same Alert Source. Only if no integration accepts it does the Inbound Log show Mapping Failed.
For example, KB Demo - Prometheus uses commonLabels^severity Not Is Any info:
| Event | Result |
| severity = warning | Passed the filter. Opened and closed on KB Demo - Prometheus. |
| severity = info | Filtered out, then opened and closed on a different integration also using the Prometheus source |

Filter commonLabels^severity not Is Any "info" on KB Demo - Prometheus: (1) warning opened on KB Demo - Prometheus and (2) closed there, (3) info was filtered out and opened on another integration sharing the Prometheus source, (4) its close went there too
Before adding a filter, check which other integrations share the same Alert Source. A filtered event can page another team. If you want an event dropped entirely, the integration it falls through to needs a matching filter too, or give each integration a unique Alert Source.
What a filtered event looks like
Filtered-out events appear in the Inbound Log as Mapping Failed with no integration.
Best practices
Use "Not Is Any" to drop specific values.
Test after every filter change with a real payload and check the Inbound Log.
Filter at the monitoring tool when you can.
Troubleshooting
| Problem | Cause | Fix |
| Every event shows Mapping Failed after adding a filter | The filter doesn't match, or see the note below | Remove the filter and retest |
Which setting solves which problem
| Problem | Use |
| One incident floods you with duplicates | Group alerts (When) |
| Alerts that flap and clear in seconds | Delay alerts (When) |
| Only some events should page, such as Critical only | Filters (Which) |
| Different on-call for business hours and nights | Escalation policy override by time (Who) |
| Route by severity or environment in the payload | Escalation policy override by data (Who) |
| Send to a team by a keyword in the alert | Dynamic recipients, or an integration per team with filters |
| Readable notifications on every channel | Message format (How) |
Some settings depend on your plan.
Plans and permissions
| What | Available on | Permission needed | Built-in roles that include it |
| Integration filters (which events to process) (How filters work; Add a condition; Editing rules; What happens to a filtered event; and more) | All plans (Free, Standard, Premium, Enterprise) | InboundIntegrations_GlobalAccess | Owner, App Admin |
Custom roles can include any of these permissions. See the Entitlements reference.