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

Pull/export of all the Problems that were opened by Dynatrace for past 2 months

naralavenkata_r
Newcomer

Is there a way to pull/export of all the Problems that were opened by Dynatrace for past 2 months?

4 REPLIES 4

Joe_Hoffman
Inactive

Have you looked at the Problems API. This provides access to historical problems.

https://www.dynatrace.com/support/help/extend-dyna...


suresh230591
Mentor

You can pull the list of problem opened/closed max to a month.
Use this api call https://<your env url>/e/<env id>api/v1/problem/feed?Api-Token=<your token>&relativeTime=month&stat...


Hi Suresh, the call example you provided got cut-off, it seems the forum doesn't like the spaces in the URL, so the link itself is incorrect with "https://%3Cyour/".

I'm not sure how much is missing. Any chance you could post that again?

 

In the meantime I'll take a look at the api docs.

 

Thanks

nballarini
Newcomer

Found the latest docs here (v2): https://www.dynatrace.com/support/help/dynatrace-api/environment-api/problems-v2/problems/get-proble...

 

and the API call looks like so: 

 

Managed: https://{your-domain}/e/{your-environment-id}/api/v2/problemsApi-Token={token}&from=now-2m

Saas: https://{your-environment-id}.live.dynatrace.com/api/v2/problems?Api-Token={token}&from=now-2m

Featured Posts