cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Controller (SaaS, On Premises)

API Query - CLR Crashes

scott.barnes
New Poster

API Query - CLR Crashes

Hi,

 

I'm trying to write an API Query to retriev all the CLR Crashes from a single tier...

 

I've been able to retrieve application errors with the following but haven't been able to get any furhter;

 

http://gbwyeon0083:8090/controller/rest/applications/15/events?time-range-type=BEFORE_NOW&duration-in-mins=60&event-types=APPLICATION_ERROR&severities=WARN,ERROR&output=JSON

 

Any help would be greatly appreciated.

Cheers

By replying you agree to the Terms and Conditions of the AppDynamics Community.
API Query - CLR Crashes
1 REPLY 1
Atyuha.Pal
AppDynamics Team

As per the document we can extract the event data at the application level only not the specific tier level through the rest api

https://docs.appdynamics.com/display/PRO43/Alert+and+Respond+API#AlertandRespondAPI-RetrieveEventDat...

Please refer to the rest api and check whether it works for you 

https://<controller url>/controller/rest/applications/<applicaion id>/events?time-range-type=BEFORE_NOW&duration-in-mins=720&output=JSON&event-types=CLR_CRASH&severities=WARN,ERROR

 

http://gbwyeon0083:8090/controller/rest/applications/15/events?time-range-type=BEFORE_NOW&duration-in-mins=720&output=JSON&event-types=CLR_CRASH&severities=WARN,ERROR&output=JSON
Hope it will help .

 

Thanks,

Atyuha

 



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