Skip to content

Commit 93c4ac5

Browse files
committed
[E&A] More fixes.
1 parent a6f8759 commit 93c4ac5

File tree

8 files changed

+88
-156
lines changed

8 files changed

+88
-156
lines changed

explore-analyze/alerts-cases/alerts/alerting-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ mapped_pages:
66

77
# Set up [alerting-setup]
88

9-
{{kib}} {alert-features} are automatically enabled, but might require some additional configuration.
9+
{{kib}} {{alert-features}} are automatically enabled, but might require some additional configuration.
1010

1111
## Prerequisites [alerting-prerequisites]
1212

explore-analyze/alerts-cases/alerts/alerting-troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ This approach should be used only temporarily as a last resort to restore functi
188188

189189
## Limitations [alerting-limitations]
190190

191-
The following limitations and known problems apply to the 9.0.0-beta1 release of the {{kib}} {alert-features}:
191+
The following limitations and known problems apply to the 9.0.0-beta1 release of the {{kib}} {{alert-features}}:
192192

193193
### Alert visibility [_alert_visibility]
194194

explore-analyze/alerts-cases/alerts/event-log-index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Use the event log index to determine:
1616
* Additional information about errors when the rule ran
1717
* Run durations for the rules and actions
1818

19-
## Example event log queries [_example_event_log_queries]
19+
## Example event log queries [_example_event_log_queries]
2020

2121
The following event log query looks at all events related to a specific rule id:
2222

explore-analyze/alerts-cases/alerts/maintenance-windows.md

Lines changed: 57 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,63 @@ mapped_urls:
66

77
# Maintenance windows
88

9-
% What needs to be done: Align serverless/stateful
9+
This content applies to: [![Observability](../../../images/serverless-obs-badge.svg "")](../../../solutions/observability.md) [![Security](../../../images/serverless-sec-badge.svg "")](../../../solutions/security/elastic-security-serverless.md)
1010

11-
% Scope notes: Merge these two pages
1211

13-
% Use migrated content from existing pages that map to this page:
12+
::::{warning}
13+
This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
14+
::::
1415

15-
% - [ ] ./raw-migrated-files/kibana/kibana/maintenance-windows.md
16-
% - [ ] ./raw-migrated-files/docs-content/serverless/maintenance-windows.md
16+
You can schedule single or recurring maintenance windows to temporarily reduce rule notifications. For example, a maintenance window prevents false alarms during planned outages.
17+
18+
By default, a maintenance window affects all rules in all {{kib}} apps within its space. You can refine the scope of a maintenance window by adding filters and rule categories.
19+
20+
Alerts continue to be generated, however notifications are suppressed as follows:
21+
22+
* When an alert occurs during a maintenance window, there are no notifications. When the alert recovers, there are no notifications—​even if the recovery occurs after the maintenance window ends.
23+
* When an alert occurs before a maintenance window and recovers during or after the maintenance window, notifications are sent as usual.
24+
25+
## Configure access to maintenance windows [setup-maintenance-windows]
26+
27+
To use maintenance windows, you must have the appropriate [subscription](https://www.elastic.co/subscriptions) and {{kib}} feature privileges.
28+
29+
* To have full access to maintenance windows, you must have `All` privileges for the **Management > Maintenance Windows** feature.
30+
* To have view-only access to maintenance windows, you must have `Read` privileges for the **Management > Maintenance Windows** feature.
31+
32+
For more details, refer to [{{kib}} privileges](../../../deploy-manage/users-roles/cluster-or-deployment-auth/kibana-privileges.md).
33+
34+
## Create and manange maintenance windows [manage-maintenance-windows]
35+
36+
In **Management > {{stack-manage-app}} > Maintenance Windows** or **{{project-settings}} > {{manage-app}} > {{maint-windows-app}}** in Serverless, you can create, edit, and archive maintenance windows.
37+
38+
When you create a maintenance window, you must provide a name and a schedule. You can optionally configure it to repeat daily, monthly, yearly, or on a custom interval.
39+
40+
:::{image} ../../../images/kibana-create-maintenance-window.png
41+
:alt: The Create Maintenance Window user interface in {kib}
42+
:class: screenshot
43+
:::
44+
45+
By default, maintenance windows affect all categories of rules. The category-specific maintenance window options alter this behavior. For the definitive list of rule types in each category, refer to the [get rule types API](https://www.elastic.co/docs/api/doc/kibana/group/endpoint-alerting).
46+
47+
If you turn on **Filter alerts**, you can use KQL to filter the alerts affected by the maintenance window:
48+
49+
:::{image} ../../../images/kibana-create-maintenance-window-filter.png
50+
:alt: The Create Maintenance Window user interface in {{kib}} with alert filters turned on
51+
:class: screenshot
52+
:::
53+
54+
::::{note}
55+
56+
* You can select only a single category when you turn on filters.
57+
* Some rules are not affected by maintenance window filters because their alerts do not contain requisite data. In particular, [{{stack-monitor-app}}](../../../deploy-manage/monitor/monitoring-data/kibana-alerts.md), [tracking containment](../../../explore-analyze/alerts-cases/alerts/geo-alerting.md), [{{anomaly-jobs}} health](../../../explore-analyze/machine-learning/anomaly-detection/ml-configuring-alerts.md), and [transform health](../../../explore-analyze/transforms/transform-alerts.md) rules are not affected by the filters.
58+
59+
::::
60+
61+
A maintenance window can have any one of the following statuses:
62+
63+
* `Upcoming`: It will run at the scheduled date and time.
64+
* `Running`: It is running.
65+
* `Finished`: It ended and does not have a repeat schedule.
66+
* `Archived`: It is archived. In a future release, archived maintenance windows will be queued for deletion.
67+
68+
When you [view alert details](../../../explore-analyze/alerts-cases/alerts/create-manage-rules.md#rule-details) in {{kib}}, each alert shows unique identifiers for maintenance windows that affected it.

explore-analyze/alerts-cases/alerts/rule-type-index-threshold.md

Lines changed: 28 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -87,61 +87,54 @@ In this example, you will use the {{kib}} [sample weblog data set](https://www.e
8787

8888
1. Provide a rule name.
8989
2. Select an index. Click **Index**, and set **Indices to query** to `kibana_sample_data_logs`. Set the **Time field** to `@timestamp`.
90-
91-
:::{image} ../../../images/kibana-rule-types-index-threshold-example-index.png
92-
:alt: Choosing an index
93-
:class: screenshot
94-
:::
90+
:::{image} ../../../images/kibana-rule-types-index-threshold-example-index.png
91+
:alt: Choosing an index
92+
:class: screenshot
93+
:::
9594

9695
3. To detect the number of bytes served during the time window, click **When** and select `sum` as the aggregation, and `bytes` as the field to aggregate.
97-
98-
:::{image} ../../../images/kibana-rule-types-index-threshold-example-aggregation.png
99-
:alt: Choosing the aggregation
100-
:class: screenshot
101-
:::
96+
:::{image} ../../../images/kibana-rule-types-index-threshold-example-aggregation.png
97+
:alt: Choosing the aggregation
98+
:class: screenshot
99+
:::
102100

103101
4. To detect the four sites that have the most traffic, click **Over** and select `top`, enter `4`, and select `host.keyword` as the field.
104-
105-
:::{image} ../../../images/kibana-rule-types-index-threshold-example-grouping.png
106-
:alt: Choosing the groups
107-
:class: screenshot
108-
:::
102+
:::{image} ../../../images/kibana-rule-types-index-threshold-example-grouping.png
103+
:alt: Choosing the groups
104+
:class: screenshot
105+
:::
109106

110107
5. To trigger the rule when any of the top four sites exceeds 420,000 bytes over a 24 hour period, select `is above` and enter `420000`. Then click **For the last**, enter `24`, and select `hours`.
111-
112-
:::{image} ../../../images/kibana-rule-types-index-threshold-example-threshold.png
113-
:alt: Setting the threshold
114-
:class: screenshot
115-
:::
108+
:::{image} ../../../images/kibana-rule-types-index-threshold-example-threshold.png
109+
:alt: Setting the threshold
110+
:class: screenshot
111+
:::
116112

117113
6. Schedule the rule to check every four hours.
118-
119-
:::{image} ../../../images/kibana-rule-types-index-threshold-example-preview.png
120-
:alt: Setting the check interval
121-
:class: screenshot
122-
:::
114+
:::{image} ../../../images/kibana-rule-types-index-threshold-example-preview.png
115+
:alt: Setting the check interval
116+
:class: screenshot
117+
:::
123118

124119
The preview chart will render showing the 24 hour sum of bytes at 4 hours intervals for the past 120 hours (the last 30 intervals).
125120

126121
7. Change the time window and observe the effect it has on the chart. Compare a 24 window to a 12 hour window. Notice the variability in the sum of bytes, due to different traffic levels during the day compared to at night. This variability would result in noisy rules, so the 24 hour window is better. The preview chart can help you find the right values for your rule.
127122
8. Define the actions for your rule.
128123

129124
You can add one or more actions to your rule to generate notifications when its conditions are met and when they are no longer met. For each action, you must select a connector, set the action frequency, and compose the notification details. For example, add an action that uses a server log connector to write an entry to the Kibana server log:
130-
131-
:::{image} ../../../images/kibana-rule-types-index-threshold-example-action.png
132-
:alt: Add an action to the rule
133-
:class: screenshot
134-
:::
125+
:::{image} ../../../images/kibana-rule-types-index-threshold-example-action.png
126+
:alt: Add an action to the rule
127+
:class: screenshot
128+
:::
135129

136130
The unique action variables that you can use in the notification are listed in [Add action variables](#action-variables-index-threshold). For more information, refer to [Actions](create-manage-rules.md#defining-rules-actions-details) and [*Connectors*](../../../deploy-manage/manage-connectors.md).
137131

138132
9. Save the rule.
139133

140134
3. Find the rule and view its details in **{{stack-manage-app}} > {{rules-ui}}**. For example, you can see the status of the rule and its alerts:
141-
142-
:::{image} ../../../images/kibana-rule-types-index-threshold-example-alerts.png
143-
:alt: View the list of alerts for the rule
144-
:class: screenshot
145-
:::
135+
:::{image} ../../../images/kibana-rule-types-index-threshold-example-alerts.png
136+
:alt: View the list of alerts for the rule
137+
:class: screenshot
138+
:::
146139

147140
4. Delete or disable this example rule when it’s no longer useful. In the detailed rule view, select **Delete rule** from the actions menu.

raw-migrated-files/docs-content/serverless/maintenance-windows.md

Lines changed: 0 additions & 50 deletions
This file was deleted.

raw-migrated-files/kibana/kibana/maintenance-windows.md

Lines changed: 0 additions & 61 deletions
This file was deleted.

raw-migrated-files/toc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ toc:
303303
- file: docs-content/serverless/ingest-third-party-cloud-security-data.md
304304
- file: docs-content/serverless/ingest-wiz-data.md
305305
- file: docs-content/serverless/intro.md
306-
- file: docs-content/serverless/maintenance-windows.md
307306
- file: docs-content/serverless/monitor-k8s-otel-edot.md
308307
- file: docs-content/serverless/observability-add-logs-service-name.md
309308
- file: docs-content/serverless/observability-aggregationOptions.md
@@ -678,7 +677,6 @@ toc:
678677
- file: kibana/kibana/kibana-concepts-analysts.md
679678
- file: kibana/kibana/kibana-role-management.md
680679
- file: kibana/kibana/logging-settings.md
681-
- file: kibana/kibana/maintenance-windows.md
682680
- file: kibana/kibana/management.md
683681
- file: kibana/kibana/osquery.md
684682
- file: kibana/kibana/playground.md

0 commit comments

Comments
 (0)