24 Apr 2024 12:18 PM - last edited on 25 Apr 2024 07:54 AM by MaciejNeumann
Hi all
I am working on Trend analysis trying to find the Patterns and Trends on our problems from DT dashboard, so I want to use API's to extract Problems, is it possible to filter by time and date? can the problems extracted show the start time of the alert and end time? please assist how can I achieve this.
Solved! Go to Solution.
24 Apr 2024 01:37 PM
Hi,
You can use "from" and "to" in Problems API v2 - GET problems list.
Best regards
24 Apr 2024 03:40 PM
If you're in SaaS you can use dql
fetch events
| filter event.kind == "DAVIS_PROBLEM"
| summarize by:{event.name}, count = countDistinct(display_id)
| sort count, direction:"descending"