Skip to content
Merged
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 29 additions & 18 deletions solutions/observability/incident-management/view-alerts.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
mapped_pages:
- https://www.elastic.co/guide/en/observability/current/view-observability-alerts.html
- https://www.elastic.co/guide/en/serverless/current/observability-view-alerts.html
applies_to:
stack: all
serverless:
observability: all
products:
- id: observability
- id: cloud-serverless
Expand Down Expand Up @@ -50,37 +54,45 @@ From the **Alerts** table, you can click on a specific alert to open the alert d
:screenshot:
:::

To further inspect the rule:

* From the alert detail flyout, click **View rule details**.
* From the **Alerts** table, click the {icon}`boxes_horizontal` icon and select **View rule details**.

To view the alert in the app that triggered it:

* From the alert detail flyout, click **View in app**.
* From the **Alerts** table, click the {icon}`eye` icon.

## Understand alert statuses [observability-view-alerts-understand-statuses]

There are four common alert statuses:

`active`
: The conditions for the rule are met and actions should be generated according to the notification settings.
: The conditions for the rule are met. If the rule has [actions](../../../explore-analyze/alerts-cases/alerts/create-manage-rules.md#defining-rules-actions-details), {{kib}} generates notifications based on the actions' notification settings.

`flapping`
: The alert is switching repeatedly between active and recovered states.

`recovered`
: The conditions for the rule are no longer met and recovery actions should be generated.

`untracked`
: The corresponding rule is disabled or you’ve marked the alert as untracked. To mark the alert as untracked, go to the **Alerts** table, click the ![More actions](/solutions/images/serverless-boxesHorizontal.svg "") icon to expand the *More actions* menu, and click **Mark as untracked**. When an alert is marked as untracked, actions are no longer generated. You can choose to move active alerts to this state when you disable or delete rules.
: The alert is switching repeatedly between active and recovered states. If the rule has actions that run when the alert status changes states, those actions are suppressed while the alert is flapping.

::::{note}
**Flapping alerts**
::::{note}

The flapping state is possible only if you have enabled alert flapping detection. Go to the **Alerts** page and click **Manage Rules** to navigate to the {{obs-serverless}} **{{rules-app}}** page. Click **Settings** then set the look back window and threshold that are used to determine whether alerts are flapping. For example, you can specify that the alert must change status at least 6 times in the last 10 runs. If the rule has actions that run when the alert status changes, those actions are suppressed while the alert is flapping.
Alert flapping is turned on by default. You can modify the criteria for changing an alert's status to the flapping state by configuring the **Alert flapping detection** settings. To do this, navigate to the **Alerts** page in the main menu, or use the [global search field](/explore-analyze/find-and-organize/find-apps-and-objects.md). Next, click **Manage Rules**, then **Settings** to open the global rule settings for the space. In the **Alert flapping detection** section, modify the rules' look back window and threshold for alert status changes. For example, you can specify that the alert must change its status at least 6 times in the last 10 runs for it to become a flapping alert.

::::

`recovered`
: The conditions for the rule are no longer met. If the rule has [recovery actions](../../../explore-analyze/alerts-cases/alerts/create-manage-rules.md#defining-rules-actions-details), {{kib}} generates notifications based on the actions' notification settings. Recovery actions only run if the rule's conditions aren't met during the current rule execution, but were in the previous one.

To further inspect the rule:

* From the alert detail flyout, click **View rule details**.
* From the **Alerts** table, click the ![More actions](/solutions/images/serverless-boxesHorizontal.svg "") icon and select **View rule details**.
An active alert changes to recovered if the conditions for the rule that generated it are no longer met.

To view the alert in the app that triggered it:
A flapping alert changes to recovered if the conditions for the rule that generated it are no longer met, and the alert's status stabilizes before refufilling the criteria for the flapping state. For instance, say that you specify an alert must change its status at least 6 times in the last 10 runs for it to become a flapping alert. If a flapping alert only changes its status 5 times in the last 10 runs, and rule's conditions are not met during the fifth rule run, the alert's status changes from flapping to recovered.

Once a flapping alert is recovered, it cannot be changed to flapping again. Only new alerts with repeated status changes are candidates for the flapping status.

* From the alert detail flyout, click **View in app**.
* From the **Alerts** table, click the ![View in app](/solutions/images/serverless-eye.svg "") icon.
`untracked`
: The rule is disabled, or you’ve marked the alert as untracked. To mark the alert as untracked, go to the **Alerts** table, click the {icon}`boxes_horizontal` icon to expand the **More actions** menu, and click **Mark as untracked**. When an alert is marked as untracked, actions are no longer generated. You can choose to move active alerts to this state when you disable or delete rules.


## Customize the alerts table [observability-view-alerts-customize-the-alerts-table]
Expand All @@ -98,15 +110,14 @@ You can also use the toolbar buttons in the upper-right to customize the display

## Add alerts to cases [observability-view-alerts-add-alerts-to-cases]

From the **Alerts** table, you can add one or more alerts to a case. Click the ![More actions](/solutions/images/serverless-boxesHorizontal.svg "") icon to add the alert to a new or existing case. You can add an unlimited amount of alerts from any rule type.
From the **Alerts** table, you can add one or more alerts to a case. Click the {icon}`boxes_horizontal` icon to add the alert to a new or existing case. You can add an unlimited amount of alerts from any rule type.

::::{note}
Each case can have a maximum of 1,000 alerts.

::::



### Add an alert to a new case [observability-view-alerts-add-an-alert-to-a-new-case]

To add an alert to a new case:
Expand Down
Loading