Query Alert Groups
Example: POST /api/alerts/group/{groupingCondition}/query
The condition to be used for grouping
Adapter kind to be used for grouping alerts by SCOPE
Resource kind to be used for grouping alerts by SCOPE
Filter based on alert resource name (Used only in SCOPE flow)
Page number from which data needs to be displayed (0-based)
Expected number of entries per page
The alertQuery criteria
"{\n \"compositeOperator\" : \"AND\",\n \"alertId\" : [ ],\n \"resource-query\" : {\n \"name\" : [ \"Windows2017VM\", \"Windows2018VM\" ],\n \"regex\" : [ \"\\\\\\\\S+-BNA-\\\\\\\\S+\", null ],\n \"adapterKind\" : [ \"VMWARE\" ],\n \"resourceKind\" : [ \"HostSystem\" ],\n \"resourceId\" : [ \"a2f733da-31f6-4b0d-a783-fe68e688c0b4\" ],\n \"statKeyInclusive\" : true\n },\n \"activeOnly\" : true,\n \"alertTypeSubtype\" : [ ],\n \"alertCriticality\" : [ \"CRITICAL\", \"IMMEDIATE\", \"WARNING\", \"INFORMATION\" ],\n \"alertStatus\" : [ ],\n \"alertImpact\" : [ ],\n \"alertControlState\" : [ ],\n \"startTimeRange\" : {\n \"startTime\" : 1744473856,\n \"endTime\" : 1744483856\n },\n \"includeChildrenResources\" : true,\n \"extractOwnerName\" : false\n}"
Operations for Composite Conditions
Filter based on Alert identifiers
Filter based on Alert name using 'contains' logic
Object used to lookup resources with various filtering criteria
Filter to return only Active alerts, if true, the query will exclude Suspended and Cancelled Alerts
Filter based on Alert Type
Filter based on Alert Criticality
Filter based on the Alert Status. If looking for only active alerts combined
with other filter criteria then use the activeOnly property instead.
Filter based on the Alert Impact
Filter based on the Alert definition id
Filter based on the Alert Control State
Filter based on matching UTC cancel time
Filter based on matching UTC cancel time
Filter based on matching UTC cancel time
True to include alerts generated by child resources
Indicates whether need to report alert owner's name in addition to owner's id
Filter based on user id
Filter based on user name using 'contains' logic
Filter based on resource kind using 'contains' logic
Indicates the alert grouping condition
Filter based on alert group id
AlertGroups of alerts matching the specified Query Spec and grouped using specified grouping-condition(Collection can be empty)
"{\n \"alertGroups\" : [ {\n \"groupId\" : \"A-id\",\n \"groupName\" : \"A\",\n \"alertCount\" : 5,\n \"maxCriticalityLevel\" : 3\n }, {\n \"groupId\" : \"B-id\",\n \"groupName\" : \"B\",\n \"alertCount\" : 5,\n \"maxCriticalityLevel\" : 3\n } ]\n}"
Represents page information for a paged result
Collection of links
List of alert groups
Error occurred while retrieving the AlertGroups
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/suite-api/api/alerts/group/{groupingCondition}/query