mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
# Backport This will backport the following commits from `main` to `8.8`: - [[DOCS] Maintenance windows (#157806)](https://github.com/elastic/kibana/pull/157806) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Lisa Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-05-17T18:01:40Z","message":"[DOCS] Maintenance windows (#157806)","sha":"93b15b14e519c42877ce03472409ce7cc017e0b1","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Alerting","release_note:skip","Team:ResponseOps","docs","backport:prev-minor","v8.8.0","v8.9.0"],"number":157806,"url":"https://github.com/elastic/kibana/pull/157806","mergeCommit":{"message":"[DOCS] Maintenance windows (#157806)","sha":"93b15b14e519c42877ce03472409ce7cc017e0b1"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/157806","number":157806,"mergeCommit":{"message":"[DOCS] Maintenance windows (#157806)","sha":"93b15b14e519c42877ce03472409ce7cc017e0b1"}}]}] BACKPORT--> Co-authored-by: Lisa Cawley <lcawley@elastic.co>
This commit is contained in:
parent
7117cc902c
commit
a4c256b39f
7 changed files with 58 additions and 1 deletions
Binary file not shown.
After Width: | Height: | Size: 114 KiB |
|
@ -0,0 +1,49 @@
|
|||
[[maintenance-windows]]
|
||||
== Maintenance windows
|
||||
:description: Maintenance windows enable you to suppress rule notifications.
|
||||
:tags-products: [kibana, alerting]
|
||||
:tags-content-type: [overview]
|
||||
:tags-user-goals: [manage]
|
||||
|
||||
preview::[]
|
||||
|
||||
You can schedule single or recurring maintenance windows to temporarily reduce rule notifications.
|
||||
For example, a maintenance window prevents false alarms during planned outages.
|
||||
|
||||
Maintenance windows affect all rules in all {kib} apps and spaces.
|
||||
Alerts continue to be generated, however notifications are suppressed as follows:
|
||||
|
||||
- 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.
|
||||
- When an alert occurs before a maintenance window and recovers during or after the maintenance window, notifications are sent as usual.
|
||||
|
||||
[discrete]
|
||||
[[setup-maintenance-windows]]
|
||||
== Configure access to maintenance windows
|
||||
|
||||
To use maintenance windows, you must have the appropriate {subscriptions}[subscription] and {kib} feature privileges.
|
||||
|
||||
- To have full access to maintenance windows, you must have `All` privileges for the *Management > Maintenance Windows* feature.
|
||||
- To have view-only access to maintenance windows, you must have `Read` privileges for the **Management > Maintenance Windows* feature.
|
||||
|
||||
For more details, refer to <<kibana-privileges>>.
|
||||
|
||||
[discrete]
|
||||
[[manage-maintenance-windows]]
|
||||
== Create and manange maintenance windows
|
||||
|
||||
In *Management > {stack-manage-app} > Maintenance Windows*, you can create, edit, and archive maintenance windows.
|
||||
|
||||
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.
|
||||
|
||||
[role="screenshot"]
|
||||
image::images/create-maintenance-window.png[The Create Maintenance Window user interface in {kib}]
|
||||
// NOTE: This is an autogenerated screenshot. Do not edit it directly.
|
||||
|
||||
A maintenance window can have any one of the following statuses:
|
||||
|
||||
- `Upcoming`: It will run at the scheduled date and time.
|
||||
- `Running`: It is running.
|
||||
- `Finished`: It ended and does not have a repeat schedule.
|
||||
- `Archived`: It is archived. In a future release, archived maintenance windows will be queued for deletion.
|
|
@ -134,6 +134,7 @@ image:images/snooze-panel.png[Snooze notifications for a rule]
|
|||
When a rule is in a snoozed state, you can cancel or change the duration of
|
||||
this state.
|
||||
|
||||
preview:[] To temporarily suppress notifications for _all_ rules, create a <<maintenance-windows,maintenance window>>.
|
||||
|
||||
[float]
|
||||
[[importing-and-exporting-rules]]
|
||||
|
|
|
@ -97,6 +97,9 @@ Viewer or Anomaly Explorer to see your {anomaly-detect} results.
|
|||
For example, you might create an alert when the maximum total CPU usage on a machine goes
|
||||
above a certain percentage.
|
||||
|
||||
| <<maintenance-windows,Maintenance windows>>
|
||||
| Suppress rule notifications for scheduled periods of time.
|
||||
|
||||
|===
|
||||
|
||||
[float]
|
||||
|
@ -184,6 +187,8 @@ include::{kib-repo-dir}/management/action-types.asciidoc[]
|
|||
|
||||
include::{kib-repo-dir}/management/managing-licenses.asciidoc[]
|
||||
|
||||
include::{kib-repo-dir}/management/maintenance-windows/maintenance-windows.asciidoc[]
|
||||
|
||||
include::{kib-repo-dir}/management/manage-data-views.asciidoc[]
|
||||
|
||||
include::{kib-repo-dir}/management/numeral.asciidoc[]
|
||||
|
|
|
@ -511,6 +511,7 @@ export const getDocLinks = ({ kibanaBranch }: GetDocLinkOptions): DocLinks => {
|
|||
indexAction: `${KIBANA_DOCS}index-action-type.html`,
|
||||
esQuery: `${KIBANA_DOCS}rule-type-es-query.html`,
|
||||
indexThreshold: `${KIBANA_DOCS}rule-type-index-threshold.html`,
|
||||
maintenanceWindows: `${KIBANA_DOCS}maintenance-windows.html`,
|
||||
pagerDutyAction: `${KIBANA_DOCS}pagerduty-action-type.html`,
|
||||
preconfiguredConnectors: `${KIBANA_DOCS}pre-configured-connectors.html`,
|
||||
preconfiguredAlertHistoryConnector: `${KIBANA_DOCS}index-action-type.html#preconfigured-connector-alert-history`,
|
||||
|
|
|
@ -391,6 +391,7 @@ export interface DocLinks {
|
|||
indexAction: string;
|
||||
esQuery: string;
|
||||
indexThreshold: string;
|
||||
maintenanceWindows: string;
|
||||
pagerDutyAction: string;
|
||||
preconfiguredConnectors: string;
|
||||
preconfiguredAlertHistoryConnector: string;
|
||||
|
|
|
@ -30,7 +30,7 @@ export const EmptyPrompt = React.memo<EmptyPromptProps>(
|
|||
<EuiButtonEmpty
|
||||
key="documentation-button"
|
||||
target="_blank"
|
||||
href={docLinks.alerting.guide}
|
||||
href={docLinks.alerting.maintenanceWindows}
|
||||
iconType="help"
|
||||
>
|
||||
{i18n.EMPTY_PROMPT_DOCUMENTATION}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue