alerts_summaries
Creates, updates, deletes, gets or lists a alerts_summaries
resource.
Overview
Name | alerts_summaries |
Type | Resource |
Id | azure.alerts_management.alerts_summaries |
Fields
- vw_alerts_summaries
- alerts_summaries
Name | Datatype | Description |
---|---|---|
id | text | Azure resource Id |
name | text | Azure resource name |
groupby | text | field from the properties object |
groupedby | text | field from the properties object |
scope | text | field from the properties object |
smart_groups_count | text | field from the properties object |
total | text | field from the properties object |
type | text | Azure resource type |
values | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Azure resource Id |
name | string | Azure resource name |
properties | object | Group the result set. |
type | string | Azure resource type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | groupby, scope | Get a summarized count of your alerts grouped by various parameters (e.g. grouping by 'Severity' returns the count of alerts for each severity). |
SELECT
examples
Get a summarized count of your alerts grouped by various parameters (e.g. grouping by 'Severity' returns the count of alerts for each severity).
- vw_alerts_summaries
- alerts_summaries
SELECT
id,
name,
groupby,
groupedby,
scope,
smart_groups_count,
total,
type,
values
FROM azure.alerts_management.vw_alerts_summaries
WHERE groupby = '{{ groupby }}'
AND scope = '{{ scope }}';
SELECT
id,
name,
properties,
type
FROM azure.alerts_management.alerts_summaries
WHERE groupby = '{{ groupby }}'
AND scope = '{{ scope }}';