Why is there a discrepancy in the total number of events retrieved through the 'event-details' API compared to the events displayed on the EventWatch analytics dashboard?

Created by Atif Ikramuddin, Modified on Tue, 26 Aug at 7:42 PM by Atif Ikramuddin

  • The 'event_details' API includes both Alerts and Warroom events.
  • To extract only Warroom events from the event_details API, use the filter is_alert as FALSE.
  • Warroom events retrieved through the API encompass all statuses: New, Closed, Archived, etc. To extract only Warroom events with a "New" status, filter the status column to be equal to "New".
  • The EventWatch Analytics dashboard presents Warroom events with all statuses, but only those events containing impacted sites are displayed.
  • Some historical Warrooms might lack impacted sites, as they were created during organization setup. Events without sites can later incorporate sites and become visible on the dashboard when these sites are added to the historical impacted event region.
  • For an event to appear on the dashboard, it must possess at least one impacted site. However, the API retrieves all events present in the database, resulting in a discrepancy in event counts.
  • To exclude events without impacted sites, use  a filter that ensures sites_impacted count is greater than 0 or not equal to 0. This will fetch only events with impacted sites.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article