Integrations
Event Enrichment
Automatically add contextual data to PagerDuty events before they reach Event Orchestration
Early Access
This feature is currently in Early Access (EA). Click here if you would like to sign up for our Early Access program.
How Event Enrichment Works
Event Enrichment automatically adds contextual data to your PagerDuty events before they reach Event Orchestration, helping you route alerts more effectively and provide responders with the information they need.
Accounts can have one Default Event Enrichment that automatically applies to all Services and Event Orchestrations. You can exclude specific Services or Event Orchestrations from the Default if they don't need those rules.
Teams can also create custom Event Enrichments for their specific needs and associate them with relevant Services and Event Orchestrations.
Important
Each Service or Event Orchestration can only have one Event Enrichment associated with it.
For Event Orchestrations
When an event is ingested via an Event Orchestration global integration key:
- Event Enrichment runs first:
- If a custom Event Enrichment is associated Apply those rules
- Otherwise, if a Default Event Enrichment exists Apply Default rule
- Global Orchestration Rules are applied (if configured)
- Service Routing Rules determine which Service receives the event
- Service-level Event Enrichment runs:
- If the Service has a custom Event Enrichment Apply those rules
- Otherwise, if a Default Event Enrichment exists Apply Default rule
- Service Orchestration Rules are applied (if configured)
For Services (Direct Integration)
When an event is ingested directly via a Service integration key:
- Service-level Event Enrichment runs:
- If the Service has a custom Event Enrichment Apply those rules
- Otherwise, if a Default Event Enrichment exists Apply Default rule
- Service Orchestration Rules are applied (if configured)
Create an Event Enrichment
- Navigate to AIOps Event Enrichments.
- Click New Event Enrichment.
- Enter a name, assign an Owning Team, and optionally add a Description.
- Click Save.
Navigate to the kabob menu to edit or set as a Default Event Enrichment.
Associate with Services and Event Orchestrations
- In the Event Enrichment rule canvas, click the Associate button.
- Choose which Services and Event Orchestrations to associate with the Event Enrichment.
- For Default Event Enrichments: Select the Services and Event Orchestrations you want to exclude (they will not use the Default enrichment).
Add Enrichment Rules
Step 1: Define Conditions
- Click + New Rule in the canvas (Default node).
- Select a condition type from the dropdown.
- Add your conditions (e.g.,
event.summary contains CMDB).- Use + And to combine multiple conditions.
- Or Switch to code editor to write complex logic using PCL.
Step 2: Choose Action Type
Click Next, then choose one of two action types:
Option A: Enrich Events (Add CDP data)
Use this to join data from your CDP tables into the event.
- Join data from: Select the CDP table to pull data from.
- Match on: Choose which event field should match the query field in the CDP table.
- Write to: Specify the
event.custom_details.*field where enriched data will be added.
Option B: Transform Events (Extract or modify data)
Use this to extract values or compose new fields.
Extract:
- Select the field to extract data from.
- Provide a regex pattern to extract values.
- Specify the event field to write the extracted data to.
Transform:
- Compose a new value using existing event fields and static text.
- Specify the event field to write the composed value to.
Upload and Manage Enrichment Data
To learn more about uploading data to the enrichment service, verifying data, and troubleshooting, see the Upload and Manage Enrichment Data documentation.
Nested Rules
For complex rule structures using Connect Mode, see the Recombining Rules documentation.
Troubleshooting
Rule not working
- Verify the rule condition matched the incoming event.
Join not adding data
- Confirm the CDP table exists.
- Ensure the join key and value match exactly (case-sensitive, watch for extra whitespace).
Extract not working
- Validate your regex pattern against the actual source field. PagerDuty uses RE2 regex syntax.
Data missing or wrong
- Check if downstream Orchestration rules are overwriting fields ("last rule wins").