21 Feb 2019 10:33 PM - last edited on 14 Jun 2023 10:47 AM by Karolina_Linda
Is there a way to pull/export of all the Problems that were opened by Dynatrace for past 2 months?
Solved! Go to Solution.
22 Feb 2019 12:52 AM
Have you looked at the Problems API. This provides access to historical problems.
https://www.dynatrace.com/support/help/extend-dyna...
22 Feb 2019 07:13 AM
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...
13 May 2021 03:57 PM - edited 13 May 2021 03:59 PM
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
13 May 2021 04:26 PM
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