Stats API

You can use the Stats API endpoints to report on Moogsoft AIOps data. These endpoints return various statistics about teams, Situations and services.

You can also fetch information on the Mean Time to Acknowledge (MTTA), Mean Time to Detect (MTTD) and Mean Time to Resolve (MTTR).

System Endpoints

The following endpoints return data statistics relating to your Moogsoft AIOps system:

  • getAlertsInNewSituationsStats: Returns the number of alerts that belong to new Situations in the specified time range.

  • getMTTAStats: Returns the Mean Time To Acknowledge (MTTA) Situations in the specified time range.

  • getMTTDStats: Returns the Mean Time To Detect (MTTD) Situations in the specified time range.

  • getMTTRStats: Returns the Mean Time To Resolve (MTTR) for Situations in the specified time range.

  • getNewAlertsStats: Returns the number of new alerts in the specified time range.

  • getNewAlertsPerSituationsStats: Returns the percentage of noise reduction from alerts-to-Situations clustering in the specified time range.

  • getNewEventsPerAlertsStats: Returns the percentage of noise reduction from events-to-alerts aggregation and deduplication in the specified time range.

  • getNewEventsPerSituationsStats: Returns the percentage of noise reduction from events-to-Situations aggregation, deduplication, and clustering in the specified time range.

  • getNewSituationsStats: Returns the number of new Situations created in the specified time range.

  • getReassignedSituationStats: Returns the number of Situations reassigned in the specified time range.

  • getReoccurringSituationStats: Returns the percentage of reoccurring situations in the specified time range.

  • getServiceSituationStats: Returns the number of active Situations impacting a service in the specified time range.

  • getSeveritySituationStats: Returns the number of Situations by severity in the specified time range.

  • getStats: Returns all available Stats API endpoints along with their description and request parameters.

  • getStatusSituationStats: Returns the number of Situations by status.

  • getSystemSituationStats: Returns the number of active Situations in the specified time range.

  • getTopServiceSituationStats: Returns the number of active Situations impacting a top service in the specified time range.

Team Endpoints

The following endpoints return data statistics relating to your Moogsoft AIOps teams:

User Endpoints

The following endpoints return data statistics relating to your Moogsoft AIOps users: