cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API to get violations data

Amir.Khan
Explorer

Hi Team,

 

I am trying to get violations data from appdynamics via APIs. Now I am using this API

https://appdynamics.com/controller/rest/applications/application_name/problems/healthruleviolations?&time-range-type=BEFORE_NOW&duration-in-mins=1440&output=json&rollup=false. 

The issue is that it only get health rule events and I want all event data including Errors, slow transactions, Synthetic performance and other all events. But didn't find the specific API to do the same.

Could you please help me to get all event data?

Thanks in advance.

 

1 REPLY 1

Hiroki.Ito
AppDynamics Team

Thank you for posting to the community.

You can use "Retrieve Event Data" API and specify event-types to get any kind of events.

Please see the document below for event-types.

For slow and very slow transactions, because they are tracked as part of the snapshots and bound with only business transactions, please use "Retrieve Transaction Snapshots" API instead.

Best Regards,

Hiroki

Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.