Hello,
Is there a possibility or has anyone tried to extract PD data of Alerts instead of Incidents for data collection?
I saw some incidents that was merged automatically due to intelligent merging and I wanna know if I can extract alerts triggered instead of incidents
Hi
Yes, you can extract alert data directly from PagerDuty, not just incidents. This is especially helpful if you want to see all the alerts that triggered, even when incidents are merged automatically.
PagerDuty provides an API endpoint to list all alerts for a specific incident. You can use the List alerts for an incident endpoint to get this data.
Here’s how you can do it:
GET /incidents/{id}/alerts
Just replace {id}
with the incident ID you’re interested in. This will return all the alerts that are part of that incident, giving you more granular visibility.
Let me know if this solution works for you, and have a nice day!
Reply
Login to PagerDuty Commons
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.