Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
06-28-2017 01:16 AM
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
06-28-2017 11:22 PM
As per the document we can extract the event data at the application level only not the specific tier level through the rest api
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
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form