Skip to content

Commit 8c1b6e3

Browse files
Merge pull request #259679 from AbbyMSFT/stateful-log-limit
Added limitations for stateful log alerts
2 parents a26de57 + b3240b0 commit 8c1b6e3

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ To edit an existing alert rule:
343343
|Field |Description |
344344
|---------|---------|
345345
|Enable upon creation| Select for the alert rule to start running as soon as you're done creating it.|
346-
|Automatically resolve alerts (preview) |Select to make the alert stateful. When an alert is stateful, the alert is resolved when the condition is no longer met for a specific time range. The time range differs based on the frequency of the alert:<br>**1 minute**: The alert condition isn't met for 10 minutes.<br>**5-15 minutes**: The alert condition isn't met for three frequency periods.<br>**15 minutes - 11 hours**: The alert condition isn't met for two frequency periods.<br>**11 to 12 hours**: The alert condition isn't met for one frequency period.|
346+
|Automatically resolve alerts (preview) |Select to make the alert stateful. When an alert is stateful, the alert is resolved when the condition is no longer met for a specific time range. The time range differs based on the frequency of the alert:<br>**1 minute**: The alert condition isn't met for 10 minutes.<br>**5-15 minutes**: The alert condition isn't met for three frequency periods.<br>**15 minutes - 11 hours**: The alert condition isn't met for two frequency periods.<br>**11 to 12 hours**: The alert condition isn't met for one frequency period. <br><br>Note that stateful log alerts have these limitations:<br> - they can trigger up to 300 alerts per evaluation.<br> - you can have a maximum of 5000 alerts with the `fired` alert condition.|
347347
|Mute actions |Select to set a period of time to wait before alert actions are triggered again. If you select this checkbox, the **Mute actions for** field appears to select the amount of time to wait after an alert is fired before triggering actions again.|
348348
|Check workspace linked storage|Select if logs workspace linked storage for alerts is configured. If no linked storage is configured, the rule isn't created.|
349349

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ The alert condition for stateful alerts is `fired`, until it is considered resol
7777

7878
For stateful alerts, while the alert itself is deleted after 30 days, the alert condition is stored until the alert is resolved, to prevent firing another alert, and so that notifications can be sent when the alert is resolved.
7979

80+
Stateful log alerts have these limitations:
81+
- they can trigger up to 300 alerts per evaluation.
82+
- you can have a maximum of 5000 alerts with the `fired` alert condition.
83+
8084
This table describes when a stateful alert is considered resolved:
8185

8286
|Alert type |The alert is resolved when |

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,10 @@ Log alerts can measure two different things, which can be used for different mon
129129
- **Table rows**: The number of rows returned can be used to work with events such as Windows event logs, Syslog, and application exceptions.
130130
- **Calculation of a numeric column**: Calculations based on any numeric column can be used to include any number of resources. An example is CPU percentage.
131131

132-
You can configure if log alerts are [stateful or stateless](alerts-overview.md#alerts-and-state). This feature is currently in preview.
132+
You can configure if log alerts are [stateful or stateless](alerts-overview.md#alerts-and-state). This feature is currently in preview.
133+
Note that stateful log alerts have these limitations:
134+
- they can trigger up to 300 alerts per evaluation.
135+
- you can have a maximum of 5000 alerts with the `fired` alert condition.
133136

134137
> [!NOTE]
135138
> Log alerts work best when you're trying to detect specific data in the logs, as opposed to when you're trying to detect a lack of data in the logs. Because logs are semi-structured data, they're inherently more latent than metric data on information like a VM heartbeat. To avoid misfires when you're trying to detect a lack of data in the logs, consider using [metric alerts](#metric-alerts). You can send data to the metric store from logs by using [metric alerts for logs](alerts-metric-logs.md).

0 commit comments

Comments
 (0)