You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: This article shows you how to create a new log search alert rule.
3
+
description: This article explains how to create a new Azure Monitor log search alert rule or edit an existing rule.
4
4
author: AbbyMSFT
5
5
ms.author: abbyweisberg
6
6
ms.topic: how-to
7
7
ms.date: 02/28/2024
8
8
ms.reviewer: nolavime
9
+
10
+
#Customer intent: As a customer, I want to create a new log search alert rule or edit an existing rule so that I can monitor my resources and receive alerts when certain conditions are met.
9
11
---
10
12
11
13
# Create or edit a log search alert rule
@@ -40,13 +42,14 @@ Alerts triggered by these alert rules contain a payload that uses the [common al
40
42
41
43
1. On the **Logs** pane, write a query that returns the log events for which you want to create an alert. To use one of the predefined alert rule queries, expand the **Schema and filter** pane on the left of the **Logs** pane. Then select the **Queries** tab, and select one of the queries.
42
44
43
-
> [!NOTE]
44
-
> * Log search alert rule queries do not support the 'bag_unpack()', 'pivot()' and 'narrow()' plugins.
45
-
> * The word "AggregatedValue" is a reserved word, it cannot be used in the query on Log search Alerts rules.
45
+
Limitations for log search alert rule queries:
46
+
- Log search alert rule queries do not support the 'bag_unpack()', 'pivot()' and 'narrow()' plugins.
47
+
- The word "AggregatedValue" is a reserved word, it cannot be used in the query on Log search Alerts rules.
48
+
- The combined size of all data in the log alert rule properties cannot exceed 64KB.
46
49
47
50
:::image type="content" source="media/alerts-create-new-alert-rule/alerts-log-rule-query-pane.png" alt-text="Screenshot that shows the Query pane when creating a new log search alert rule.":::
48
51
49
-
1. (Optional) If you're querying an ADX or ARG cluster, Log Analytics can't automatically identify the column with the event timestamp, so we recommend that you add a time range filter to the query. For example:
52
+
1. (Optional) If you're querying an ADX or ARG cluster, Log Analytics can't automatically identify the column with the event timestamp. We recommend that you add a time range filter to the query. For example:
@@ -61,9 +64,9 @@ Alerts triggered by these alert rules contain a payload that uses the [common al
61
64
62
65
:::image type="content" source="media/alerts-create-new-alert-rule/alerts-logs-conditions-tab.png" alt-text="Screenshot that shows the Condition tab when creating a new log search alert rule.":::
63
66
64
-
For sample log search alert queries that query ARG or ADX, see [Log search alert query samples](./alerts-log-alert-query-samples.md)
67
+
For sample log search alert queries that query ARG or ADX, see [Log search alert query samples](./alerts-log-alert-query-samples.md).
65
68
66
-
For limitations:
69
+
These are the limitations for using cross queries:
0 commit comments