Skip to content

Commit e9e47d6

Browse files
Merge pull request #270372 from AbbyMSFT/log-alert-limits
Update log search alert rules with new limitation
2 parents 351b17b + 73d601e commit e9e47d6

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

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

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
---
22
title: Create Azure Monitor log search alert rules
3-
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.
44
author: AbbyMSFT
55
ms.author: abbyweisberg
66
ms.topic: how-to
77
ms.date: 02/28/2024
88
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.
911
---
1012

1113
# 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
4042

4143
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.
4244

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.
4649

4750
:::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.":::
4851

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:
5053

5154
```KQL
5255
adx('https://help.kusto.windows.net/Samples').table
@@ -61,9 +64,9 @@ Alerts triggered by these alert rules contain a payload that uses the [common al
6164
6265
:::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.":::
6366
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).
6568
66-
For limitations:
69+
These are the limitations for using cross queries:
6770
* [Cross-service query limitations](../logs/azure-monitor-data-explorer-proxy.md#limitations)
6871
* [Combine Azure Resource Graph tables with a Log Analytics workspace](../logs/azure-monitor-data-explorer-proxy.md#combine-azure-resource-graph-tables-with-a-log-analytics-workspace)
6972
* Not supported in government clouds

0 commit comments

Comments
 (0)