Skip to content

Commit 243e31d

Browse files
committed
Learn Editor: Update alerts-create-log-alert-rule.md
1 parent c8ed8a6 commit 243e31d

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

articles/azure-monitor/alerts/alerts-create-log-alert-rule.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ ms.date: 02/28/2024
88
ms.reviewer: nolavime
99
---
1010

11+
---
12+
title: Create Azure Monitor log search alert rules
13+
description: This article shows you how to create a new log search alert rule.
14+
author: AbbyMSFT
15+
ms.author: abbyweisberg
16+
ms.topic: how-to
17+
ms.date: 02/28/2024
18+
ms.reviewer: nolavime
19+
---
20+
1121
# Create or edit a log search alert rule
1222

1323
This article shows you how to create a new log search alert rule or edit an existing log search alert rule. To learn more about alerts, see the [alerts overview](alerts-overview.md).
@@ -126,13 +136,13 @@ Alerts triggered by these alert rules contain a payload that uses the [common al
126136
127137
Select values for these fields under **Number of violations to trigger the alert**:
128138
129-
|Field |Description |
130-
|---------|---------|
131-
|Number of violations|The number of violations that trigger the alert.|
132-
|Evaluation period|The time period within which the number of violations occur. |
133-
|Override query time range| If you want the alert evaluation period to be different than the query time range, enter a time range here.<br> The alert time range is limited to a maximum of two days. Even if the query contains an **ago** command with a time range of longer than two days, the two-day maximum time range is applied. For example, even if the query text contains **ago(7d)**, the query only scans up to two days of data. If the query requires more data than the alert evaluation you can change the time range manually. If the query contains **ago** command, it will be changed automatically to 2 days (48 hours).|
134-
135-
> [!NOTE]
139+
|Field |Description |
140+
|---------|---------|
141+
|Number of violations|The number of violations that trigger the alert.|
142+
|Evaluation period|The time period within which the number of violations occur. |
143+
|Override query time range| If you want the alert evaluation period to be different than the query time range, enter a time range here.<br> The alert time range is limited to a maximum of two days. Even if the query contains an **ago** command with a time range of longer than two days, the two-day maximum time range is applied. For example, even if the query text contains **ago(7d)**, the query only scans up to two days of data. If the query requires more data than the alert evaluation, you can change the time range manually. If the query contains an **ago** command, it will be changed automatically to 2 days (48 hours).|
144+
145+
> [!NOTE]
136146
> If you or your administrator assigned the Azure Policy **Azure Log Search Alerts over Log Analytics workspaces should use customer-managed keys**, you must select **Check workspace linked storage**. If you don't, the rule creation will fail because it won't meet the policy requirements.
137147
138148
1. The **Preview** chart shows query evaluations results over time. You can change the chart period or select different time series that resulted from a unique alert splitting by dimensions.

0 commit comments

Comments
 (0)