NRQL to fetch incidents that are created/raised for Applications

Hi team,
I was just looking around NRQL for getting incidents that are created for the Applications in newrelic alerts and found Need get the average incidents alerts and metrics triggered in a month which is w.r.t insights.
But my question is to get a NRQL to fetch incidents where alerts are not configured with insights.

1 Like

Hello @madhura.d, Alerts data is not directly available in Insights so you wouldn’t be able to query it.

However, this might be helpful for you:

1 Like

Hi @zahrasiddiqa just need a clarification. Is API Key and Insert Key the same. Can I use the same API Key to proceed with Insights inplace of Insert key.
Because as per this An Insert Key for the Insights API I dont see adding "Insert Key " option in my Newrelic account, reason would be that I dont have access to add keys.

Hi, @madhura.d: No, API key and insert key are different. You must be an account administrator (or have the Insights manager role) to view or create Insights API keys.

1 Like