List alert count
POST/mt/monitor/v1/agg/alerts
Retrieve an aggregated count of alerts across tenants.
Request
Query Parameters
Must be tenant
. Using the query parameter returns all the aggregated responses for the current parent tenant and its child tenants. If not used, the results for just the current tenant are returned.
Header Parameters
Must be one of the following: de
, americas
, europe
, uk
, sg
, ca
, jp
, au
, in
. Returns details from the Cortex Data Lake (CDL) region specified. If no region is specified, the default response is americas
CDL region.
- application/json
Body
- TimeFilter
- UrlLogsRule
- Array [
- ]
- Array [
- ]
- Array [
- ]
filter objectrequired
Resource count filter. Consists of a required operator and an array of rules objects.
Must be AND
.
rules object[]
See UrlLogsRule and TimeFilter.
Filter operator that is one of the example values and is run on the property field
Filter property field that is one of the example values
Filter property value
Filter operator that is one of the example values and is run on the property field
Filter property field that is one of the example values
Filter property values
properties object[]required
List of property json objects
App summary property. See ResourceProperty.
Responses
- 200
- 400
- 500
Success
- application/json
- Schema
- Alerts Count By Tenant
- Alerts Distribution By Severity
- Alerts Trend
Schema
- any
[
{
"count": 10,
"sub_tenant_id": "<sub_tenant_id>"
}
]
[
{
"count": 3,
"severity": "<severity>"
}
]
[
{
"count": 1,
"updated_time": 1657238400000
},
{
"count": 1,
"updated_time": 1657411200000
}
]
Bad Request
Server Error