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
Copy file name to clipboardExpand all lines: docs/alerts/monitors/alert-grouping.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Alert grouping works for both logs and metrics monitors.
20
20
21
21
### Metrics
22
22
23
-
1.[**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select **Manage Data > Monitoring > Monitors**. <br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the main Sumo Logic menu, select **Alerts > Monitors**. You can also click the **Go To...** menu at the top of the screen and select **Monitors**.
23
+
1.[**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select **Manage Data > Monitoring > Monitors**. <br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the main Sumo Logic menu, select **Alerts > Monitors**. You can also click the **Go To...** menu at the top of the screen and select **Monitors**.
24
24
2. Click **Add a New monitor**.
25
25
3. Select **Metrics** as the type of monitor.
26
26
4. Enter your metrics query, then select your desired alert grouping option.
@@ -32,16 +32,14 @@ Alert grouping works for both logs and metrics monitors.
32
32
33
33
### Logs
34
34
35
-
1.[**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select **Manage Data > Monitoring > Monitors**. <br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the main Sumo Logic menu, select **Alerts > Monitors**. You can also click the **Go To...** menu at the top of the screen and select **Monitors**.
35
+
1.[**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select **Manage Data > Monitoring > Monitors**. <br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the main Sumo Logic menu, select **Alerts > Monitors**. You can also click the **Go To...** menu at the top of the screen and select **Monitors**.
36
36
2. Click **Add a New monitor**.
37
37
3. Select **Logs** as the type of monitor.
38
38
4. Enter your logs query, then select your desired alert grouping option:
39
39
***One alert per monitor**. Choose this option if you want to only receive a single alert for the entire monitor.
40
40
***One alert per [group]**. Allows you to receive one notification per each unique value of the grouping field(s). You can pick more than one field for the grouping condition. In the example below, you would receive one alert for each `service` that has error count greater than 50. The input field has an auto-completion dropdown that allows you to select all the applicable fields from your query.<br/><img src={useBaseUrl('img/alerts/monitors/setup-logs.png')} alt="setup-logs.png" style={{border: '1px solid gray'}} width="800" />
41
41
5. Configure the rest of your alert condition per standard procedure. Refer to [Monitors](/docs/alerts/monitors) for more details.
42
42
43
-
The input field has an auto-completion dropdown that allows you to select all the applicable fields from your query.
44
-
45
43
## Set a Muting Schedule for an alert group
46
44
47
45
Optionally, you can apply a Muting Schedule to your alert group. [Learn more](/docs/alerts/monitors/muting-schedules/#set-a-muting-schedule-for-an-alert-group).
Copy file name to clipboardExpand all lines: docs/alerts/monitors/create-monitor.md
+26-13Lines changed: 26 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,13 +166,20 @@ You can set a logs monitor trigger to alert based on the following:
166
166
167
167
Triggers are evaluated by balancing the requirement of timely alert notifications while ensuring that monitor data is indeed available to evaluate trigger conditions.
168
168
169
-
* For [static logs monitors](#static-detection-method), triggers are similar to "Alert when the result is greater than _ within Y Minutes". The triggers are evaluated periodically as below.
170
-
| When detection window (Y) is | Evaluate trigger every |
* For [static logs monitors](#static-detection-method), you can control trigger monitor evaluation frequency using the options below. If `Alert when result is <greater/less> than <_> within <X>. Evaluate trigger every <Y>.`:
170
+
| When detection window (X) is | Evaluate trigger every (Y) |
171
+
|:-----|:-----------------------|
172
+
| 2m | 1m, 2m |
173
+
| 5m | 1m, 2m, 5m |
174
+
| 10m | 1m, 2m, 5m, 10m |
175
+
| 15m | 1m, 2m, 5m, 10m |
176
+
| 30m | 2m, 5m, 10m, 20m |
177
+
| 1h | 2m, 5m, 10m, 20m |
178
+
| 3h | 10m, 20m, 40m, 1h |
179
+
| 6h | 10m, 20m, 40m, 1h |
180
+
| 12h | 20m, 40m, 1h |
181
+
| 24h | 20m, 40m, 1h |
182
+
| 7d | 20m, 40m, 1h |
176
183
* For [anomaly logs monitors](#anomaly-detection-method), triggers are evaluated every `timeslice` as specified in the monitor query. For example, the below query is evaluated every 2 minutes.
177
184
```
178
185
_sourceCategory=Labs/Apache/Access
@@ -187,21 +194,26 @@ Triggers are evaluated by balancing the requirement of timely alert notification
187
194
188
195
When configuring monitor trigger conditions, you can set a resolution window to resolve alerts quickly once the underlying issue is fixed. The resolution window specifies how long a monitor will wait before resolving an alert after the issue is corrected.
189
196
190
-
For example, if your monitor evaluates the last 1 hour, you can set a resolution window of 15 minutes. Once the resolution window is continuously satisfied for 15 minutes, the alert will resolve automatically.<br/><img src={useBaseUrl('img/alerts/monitors/config-resolution-window-2.png')} alt="config-resolution-window" style={{border: '1px solid gray'}} width="700"/>
197
+
For example, if your monitor evaluates the last 1 Hour, you can set a resolution window of 15 Minutes. Once the resolution window is continuously satisfied for 15 Minutes, the alert will resolve automatically.<br/><img src={useBaseUrl('img/alerts/monitors/config-resolution-window-logs.png')} alt="config-resolution-window" style={{border: '1px solid gray'}} width="700"/>
`Alert when result is <threshold type> <threshold> within <time range>`
205
+
`Alert when result is <threshold type> <threshold> within <time range - trigger>. Evaluate every <time range - frequency>.`
199
206
200
207
| Parameter | Description |
201
208
|:--|:--|
202
209
|`<threshold type>`| How you want the value compared. Select **greater than**, **greater than or equal**, **less than or equal**, or **less than**. |
203
210
|`<threshold>`| The value against which the trigger will be evaluated. You can specify any valid numeric value up to **1,000**. |
204
-
|`<time range>`| The duration of time to evaluate (values range from 5 minutes to 24 hours). |
211
+
|`<time range - trigger>`| The duration of time to evaluate. Values range from 2 Minutes to 24 Hours (or 7 Days, by request only). |
212
+
|`<time range - frequency>`| The frequency that the monitor is evaluated. |
213
+
214
+
After setting the frequency evaluation, you can preview your [estimated scan data](/docs/manage/partitions/flex/estimate-scan-data) by clicking the **Show Estimated Scan** icon, as seen below.
The recovery condition is set by default to the opposite of the alert condition. If you need to change these settings, switch on the **Edit recovery settings** toggle and then adjust values for the recovery settings accordingly.
207
219
@@ -211,11 +223,12 @@ For example, if an alert is set to `greater than 10`, the recovery would be se
`Alert when missing data within <time range>. Evaluate every <time range - frequency>.`
215
227
216
228
| Parameter | Description |
217
229
|:--|:--|
218
-
|`<time range>`| The duration of time to evaluate (values range from 5 minutes to 24 hours). |
230
+
|`<time range - trigger>`| The duration of time to evaluate (values range from 5 minutes to 24 hours). |
231
+
|`<time range - frequency>`| The frequency that the monitor is evaluated. |
219
232
220
233
For recovery, Sumo Logic will automatically resolve the incident when the resolution condition is satisfied.
221
234
@@ -270,7 +283,7 @@ For Metrics monitors, you can choose to recover based on a single data point bel
270
283
271
284
When configuring monitor trigger conditions, you can set a resolution window to resolve alerts quickly once the underlying issue is fixed. The resolution window specifies how long a monitor will wait before resolving an alert after the issue is corrected.
272
285
273
-
For example, if your monitor evaluates the last 1 hour, you can set a resolution window of 15 minutes. Once the resolution window is continuously satisfied for 15 minutes, the alert will resolve automatically.<br/><img src={useBaseUrl('img/alerts/monitors/config-resolution-window-2.png')} alt="config-resolution-window" style={{border: '1px solid gray'}} width="700"/>
286
+
For example, if your monitor evaluates the last 1 hour, you can set a resolution window of 15 minutes. Once the resolution window is continuously satisfied for 15 minutes, the alert will resolve automatically.<br/><img src={useBaseUrl('img/alerts/monitors/config-resolution-window-metrics.png')} alt="config-resolution-window" style={{border: '1px solid gray'}} width="700"/>
Copy file name to clipboardExpand all lines: docs/alerts/monitors/overview.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,9 @@ To manage and/or view monitors, you'll need the **Manage** and **View Monitor
23
23
24
24
The frequency at which a monitor executes depends on various factors, such as the underlying query, the operators used, and the detection window. This frequency can range from a few seconds to several minutes.
25
25
26
-
For example, if the detection window of your alert is one day, it will be evaluated every few minutes. Conversely, if the detection window of the monitor is 15 minutes, it will be evaluated every few seconds.
26
+
For example, if the detection window of your alert is 1 Day, it will be evaluated every few minutes. Conversely, if the detection window of the monitor is 15 Minutes, it will be evaluated every few seconds.
27
+
28
+
See [Trigger Type (Logs)](/docs/alerts/monitors/create-monitor/#trigger-type-logs) and [Trigger Type (Metrics)](/docs/alerts/monitors/create-monitor/#trigger-type-metrics) for more information.
0 commit comments