Skip to content

Commit 1d6a2f2

Browse files
committed
Learn Editor: Update tutorial-log-alert.md
1 parent 92c9566 commit 1d6a2f2

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,19 @@ In this tutorial, you learn how to:
1616
> * Create an action group to define notification details
1717
1818

19+
## Prerequisites
20+
21+
# Tutorial: Create a log query alert for an Azure resource
22+
Azure Monitor alerts proactively notify you when important conditions are found in your monitoring data. Log query alert rules create an alert when a log query returns a particular result. For example, receive an alert when a particular event is created on a virtual machine, or send a warning when excessive anonymous requests are made to a storage account.
23+
24+
In this tutorial, you learn how to:
25+
26+
> [!div class="checklist"]
27+
> * Access prebuilt log queries designed to support alert rules for different kinds of resources
28+
> * Create a log query alert rule
29+
> * Create an action group to define notification details
30+
31+
1932
## Prerequisites
2033

2134
To complete this tutorial you need the following:
@@ -54,7 +67,7 @@ Once you verify your query, you can create the alert rule. Select **New alert ru
5467
:::image type="content" source="media/tutorial-log-alert/create-alert-rule.png" lightbox="media/tutorial-log-alert/create-alert-rule.png"alt-text="Create alert rule":::
5568
## Configure condition
5669

57-
On the **Condition** tab, the **Log query** will already be filled in. The **Measurement** section defines how the records from the log query will be measured. If the query doesn't perform a summary, then the only option will be to **Count** the number of **Table rows**. If the query includes one or more summarized columns, then you'll have the option to use number of **Table rows** or a calculation based on any of the summarized columns. **Aggregation granularity** defines the time interval over which the collected values are aggregated.
70+
On the **Condition** tab, the **Log query** will already be filled in. The **Measurement** section defines how the records from the log query will be measured. If the query doesn't perform a summary, then the only option will be to **Count** the number of **Table rows**. If the query includes one or more summarized columns, then you'll have the option to use number of **Table rows** or a calculation based on any of the summarized columns. **Aggregation granularity** defines the time interval over which the collected values are aggregated. For example, if the aggregation granularity is set to 5 minutes, the alert rule will evaluate the data aggregated over the last 5 minutes. If the aggregation granularity is set to 15 minutes, the alert rule will evaluate the data aggregated over the last 15 minutes. It is important to choose the right aggregation granularity for your alert rule, as it can affect the accuracy of the alert.
5871

5972
:::image type="content" source="media/tutorial-log-alert/alert-rule-condition.png" lightbox="media/tutorial-log-alert/alert-rule-condition.png"alt-text="Alert rule condition":::
6073

0 commit comments

Comments
 (0)