Skip to content

Commit bd368f6

Browse files
authored
Merge pull request #193581 from AbbyMSFT/alerts-recommend
Recommended alerts
2 parents c095d77 + 9878d12 commit bd368f6

File tree

7 files changed

+47
-14
lines changed

7 files changed

+47
-14
lines changed

articles/azure-monitor/alerts/alerts-log-query.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This article describes how to write and convert [Log Alert](./alerts-unified-log
1111

1212
## How to start writing an alert log query
1313

14-
Alert queries start from [querying the log data in Log Analytics](alerts-log.md#create-a-log-alert-rule-in-the-azure-portal) that indicates the issue. You can use the [alert query examples topic](../logs/queries.md) to understand what you can discover. You may also [get started on writing your own query](../logs/log-analytics-tutorial.md).
14+
Alert queries start from [querying the log data in Log Analytics](alerts-log.md#create-a-new-log-alert-rule-in-the-azure-portal) that indicates the issue. You can use the [alert query examples topic](../logs/queries.md) to understand what you can discover. You may also [get started on writing your own query](../logs/log-analytics-tutorial.md).
1515

1616
### Queries that indicate the issue and not the alert
1717

articles/azure-monitor/alerts/alerts-log.md

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,14 @@ ms.custom: devx-track-azurepowershell, devx-track-azurecli
99
---
1010
# Create, view, and manage log alerts using Azure Monitor
1111

12-
## Overview
13-
1412
This article shows you how to create and manage log alerts. Azure Monitor log alerts allow users to use a [Log Analytics](../logs/log-analytics-tutorial.md) query to evaluate resource logs at a set frequency and fire an alert based on the results. Rules can trigger one or more actions using [Action Groups](./action-groups.md). [Learn more about functionality and terminology of log alerts](./alerts-unified-log.md).
1513

1614
Alert rules are defined by three components:
1715
- Target: A specific Azure resource to monitor.
1816
- Criteria: Logic to evaluate. If met, the alert fires.
1917
- Action: Notifications or automation - email, SMS, webhook, and so on.
2018
You can also [create log alert rules using Azure Resource Manager templates](../alerts/alerts-log-create-templates.md).
21-
## Create a log alert rule in the Azure portal
19+
## Create a new log alert rule in the Azure portal
2220
> [!NOTE]
2321
> This article describes creating alert rules using the new alert rule wizard.
2422
> The new alert rule experience is a little different than the old experience. Please note these changes:
@@ -36,7 +34,7 @@ You can also [create log alert rules using Azure Resource Manager templates](../
3634

3735
1. In the [portal](https://portal.azure.com/), select the relevant resource. We recommend monitoring at scale by using a subscription or resource group for the alert rule.
3836
1. In the Resource menu, select **Logs**.
39-
1. Write a query that will find the log events for which you want to create an alert. You can use the [alert query examples topic](../logs/queries.md) to understand what you can discover or [get started on writing your own query](../logs/log-analytics-tutorial.md). Also, [learn how to create optimized alert queries](alerts-log-query.md).
37+
1. Write a query that will find the log events for which you want to create an alert. You can use the [alert query examples article](../logs/queries.md) to understand what you can discover or [get started on writing your own query](../logs/log-analytics-tutorial.md). Also, [learn how to create optimized alert queries](alerts-log-query.md).
4038
1. From the top command bar, Select **+ New Alert rule**.
4139

4240
:::image type="content" source="media/alerts-log/alerts-create-new-alert-rule.png" alt-text="Create new alert rule.":::
@@ -86,13 +84,34 @@ You can also [create log alert rules using Azure Resource Manager templates](../
8684
:::image type="content" source="media/alerts-log/alerts-rule-tags-tab.png" alt-text="Tags tab.":::
8785

8886
1. In the **Review + create** tab, a validation will run and inform you of any issues.
89-
1. When validation passes and you have reviewed the settings, click the **Create** button.
87+
1. When validation passes and you have reviewed the settings, select the **Create** button.
9088

9189
:::image type="content" source="media/alerts-log/alerts-rule-review-create.png" alt-text="Review and create tab.":::
90+
91+
## Enable recommended out-of-the-box alert rules in the Azure portal (preview)
92+
> [!NOTE]
93+
> The alert recommendations feature is currently in preview and is only enabled for VMs.
94+
95+
If you don't have any alert rules defined for the selected resource, you can enable our recommended out-of-the-box alert rules.
96+
97+
:::image type="content" source="media/alerts-managing-alert-instances/enable-recommended-alert-rules.jpg" alt-text="Screenshot of alerts page with link to recommended alert rules.":::
98+
99+
The system compiles a list of recommended alert rules based on:
100+
- The resource provider’s knowledge of important signals and thresholds for monitoring the resource.
101+
- Telemetry that tells us what customers commonly alert on for this resource.
102+
103+
To enable recommended alert rules:
104+
1. On the **Alerts** page, select **Enable recommended alert rules**. The **Enable recommended alert rules** pane opens with a list of recommended alert rules based on your type of resource.
105+
1. In the **Alert me if** section, select all of the rules you want to enable. The rules are populated with the default values for the rule condition, such as the percentage of CPU usage that you want to trigger an alert. You can change the default values if you would like.
106+
1. In the **Notify me by** section, select the way you want to be notified if an alert is fired.
107+
1. Select **Enable**.
108+
109+
:::image type="content" source="media/alerts-managing-alert-instances/enable-recommended-rule-pane.jpg" alt-text="Screenshot of recommended alert rules pane.":::
110+
92111
## Manage alert rules in the Alerts portal
93112

94113
> [!NOTE]
95-
> This article describes how to manage alert rules created in the latest UI or using an API version later than `2018-04-16`. See [View and manage alert rules created in previous versions](alerts-manage-alerts-previous-version.md) for information about how to view and manage alert rules created in the previous UI.
114+
> This section describes how to manage alert rules created in the latest UI or using an API version later than `2018-04-16`. See [View and manage alert rules created in previous versions](alerts-manage-alerts-previous-version.md) for information about how to view and manage alert rules created in the previous UI.
96115
97116
1. In the [portal](https://portal.azure.com/), select the relevant resource.
98117
1. Under **Monitoring**, select **Alerts**.

articles/azure-monitor/alerts/alerts-managing-alert-instances.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ ms.topic: conceptual
55
ms.date: 2/23/2022
66

77
---
8-
98
# Manage alert instances with unified alerts
109

1110
With the [unified alerts experience](./alerts-overview.md) in Azure Monitor, you can see all your different types of alerts across Azure. Unified alerts span multiple subscriptions in a single pane. This article shows how you can view your alert instances, and how to find specific alert instances for troubleshooting.
@@ -25,13 +24,20 @@ You can go to the alerts page in any of the following ways:
2524

2625
![Screenshot of resource Monitoring Alerts](media/alerts-managing-alert-instances/alert-resource.JPG)
2726

28-
- Use the context of a specific resource group. Open a resource group, go to the **Monitoring** section, and choose **Alerts**. The landing page is pre-filtered for alerts on that specific resource group.
27+
## The alerts page
2928

30-
![Screenshot of resource group Monitoring Alerts](media/alerts-managing-alert-instances/alert-rg.JPG)
29+
The **Alerts** page summarizes all your alert instances across Azure.
30+
### Alert Recommendations (preview)
31+
> [!NOTE]
32+
> The alert recommendations feature is currently in preview and is only enabled for VMs.
3133
32-
## The alerts page
34+
If you don't have any alerts defined for the selected resource, you can [create a new alert rule](alerts-log.md#create-a-new-log-alert-rule-in-the-azure-portal), or [enable recommended out-of-the-box alert rules in the Azure portal (preview)](alerts-log.md#enable-recommended-out-of-the-box-alert-rules-in-the-azure-portal-preview).
35+
36+
:::image type="content" source="media/alerts-managing-alert-instances/enable-recommended-alert-rules.jpg" alt-text="Screenshot of alerts page with link to recommended alert rules.":::
37+
### Alerts summary pane
38+
If you have alerts configured for this resource, the alerts summary pane summarizes the alerts fired in the last 24 hours. You can modify the list of alert instances by selecting filters such as **time range**, **subscription**, **alert condition**, **severity**, and more. Select an alert instance.
3339

34-
The **Alerts** page summarizes all your alert instances across Azure. You can modify the results by selecting filters such as **time range**, **subscription**, **alert condition**, **severity**, and more. You can select an alert instance to open the **Alert Details** page and see more details about the specific alert instance.
40+
To see more details about a specific alert instance, select the alerts instance to open the **Alert Details** page.
3541
> [!NOTE]
3642
> If you navigated to the alerts page by selecting a specific alert severity, the list is pre-filtered for that severity.
3743

articles/azure-monitor/alerts/alerts-overview.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,16 @@ You can alert on metrics and logs, as described in [monitoring data sources](./.
6666
- Tests for website availability
6767
## Alerts experience
6868
### Alerts page
69+
The Alerts page provides a summary of the alerts created in the last 24 hours.
70+
### Alert Recommendations (preview)
71+
> [!NOTE]
72+
> The alert recommendations feature is currently in preview and is only enabled for VMs.
73+
74+
If you don't have any alerts defined for the selected resource, you can [create a new alert rule](alerts-log.md#create-a-new-log-alert-rule-in-the-azure-portal), or [enable recommended out-of-the-box alert rules in the Azure portal (preview)](alerts-log.md#enable-recommended-out-of-the-box-alert-rules-in-the-azure-portal-preview).
6975

70-
The Alerts page provides a summary of the alerts created in the last 24 hours. You can filter the list by the subscription or any of the filter parameters at the top of the page. The page displays the total alerts for each severity. Select a severity to filter the alerts by that severity.
76+
:::image type="content" source="media/alerts-managing-alert-instances/enable-recommended-alert-rules.jpg" alt-text="Screenshot of alerts page with link to recommended alert rules.":::
77+
### Alerts summary pane
78+
If you have alerts configured for this resource, the alerts summary pane summarizes the alerts fired in the last 24 hours. You can filter the list by the subscription or any of the filter parameters at the top of the page. The page displays the total alerts for each severity. Select a severity to filter the alerts by that severity.
7179
> [!NOTE]
7280
> You can only access alerts generated in the last 30 days.
7381
67.1 KB
Loading
64.2 KB
Loading

articles/site-recovery/monitor-log-analytics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ AzureDiagnostics 
245245

246246
## Set up alerts - examples
247247

248-
You can set up Site Recovery alerts based on Azure Monitor data. [Learn more](../azure-monitor/alerts/alerts-log.md#create-a-log-alert-rule-in-the-azure-portal) about setting up log alerts.
248+
You can set up Site Recovery alerts based on Azure Monitor data. [Learn more](../azure-monitor/alerts/alerts-log.md#create-a-new-log-alert-rule-in-the-azure-portal) about setting up log alerts.
249249

250250
> [!NOTE]
251251
> Some of the examples use **replicationProviderName_s** set to **A2A**. This sets alerts for Azure VMs that are replicated to a secondary Azure region. In these examples, you can replace **A2A** with **InMageAzureV2** if you want to set alerts for on-premises VMware VMs or physical servers replicated to Azure.

0 commit comments

Comments
 (0)