﻿---
title: Investigate your alerts
description: Start an Elastic nightshift investigation from an alert or an alert episode, and find out why it fired and what to do about it.
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/9659/solutions/observability/nightshift/use-cases/investigate-alerts
products:
  - Elastic Cloud Serverless
  - Elastic Documentation
  - Elastic Observability
applies_to:
  - Serverless Observability projects: Preview
---

# Investigate your alerts
Elastic nightshift can investigate when an alert fires and find out why it fired. The alert already tells it the rule, the service, the threshold, and when the problem started, so you don't have to add any information. You get the likely cause, the impact, and proposed actions.

## Before you begin

- An admin has [enabled Elastic nightshift](/elastic/docs-content/pull/9659/solutions/observability/nightshift/get-started#nightshift-get-started-enable). Until then, you won't see an **Investigate** action for alerts.
- You have the privileges to start investigations. Refer to [Grant access](/elastic/docs-content/pull/9659/solutions/observability/nightshift/privileges#nightshift-privileges-analyst).
- The alert is in the same project as Elastic nightshift. It can come from the Kibana Classic Alerting or the Kibana Universal Alerting.

Each investigation that you start counts toward the **Manual investigations daily limit**. Refer to [Investigation limits](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/9659/solutions/observability/nightshift/investigation/limits).

## Example: A latency alert on inventory-api

At 11:05 UTC, an APM latency threshold alert fires: average latency of GET /tickets on `inventory-api` is above 1.5 seconds. You open the alert and select **Investigate**.
A few minutes later, Elastic nightshift reports that latency stayed above the threshold for about an hour, that ticket lookups often failed, and that a slow query on the `encore` database is the likely cause. It proposes that you inspect the query plan and add a missing index.

## Start an investigation from an Classic Alerting alert

You can start an investigation from the Classic Alerting alerts table or from the alert details page. Both start the same investigation.
**From the alerts table:**
1. Find **Alerts** in the navigation menu or with the [global search field](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/9659/explore-analyze/find-and-organize/find-apps-and-objects).
2. Find the alert, open its `boxes_vertical` **More actions** menu, and select **Investigate**.

**From the alert details page:**
1. Open the alert's details page, for example from the link in an alert notification.
2. Select **Investigate** at the top of the page.

The button shows **Investigating…** while Elastic nightshift starts. Then an **Investigation started** message appears. Select **View investigation** to open it on the Elastic nightshift home page.

## Start an investigation from an Universal Alerting alert episode

Alert episodes come from the [Universal Alerting](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/9659/explore-analyze/alerting/esql/system-overview).
- In the episodes table, open the episode's row actions menu and select **Investigate**.
- On the episode details page, open the menu at the top of the page and select **Investigate**.

You can investigate one episode at a time.

## Read the investigation

An alert investigation looks like any other investigation. In **What's happened**, the trigger card shows the alert. Select **View alert** to go back to it.
Read the results, check the hypothesis tree, and act on the proposed actions the same way as for a question. Refer to [Read an investigation](/elastic/docs-content/pull/9659/solutions/observability/nightshift/investigation#nightshift-read-investigation).

## When an alert already has an investigation

Elastic nightshift doesn't open a second investigation for the same problem.
- If the alert already has an investigation, the action reads **View investigation**. Select it to open the investigation.
- If you want fresh results, for example after applying a fix, select **Re-investigate** on the alert details page in the **Actions** menu.

An alert or significant event that's already part of an open investigation joins the existing investigation. A new alert from the same rule starts its own investigation, and automations can't group repeat firings into one. Refer to [Each problem has one investigation](/elastic/docs-content/pull/9659/solutions/observability/nightshift/investigation#nightshift-investigations-dedup).

## What to check

- **Check the time window**: The investigation starts from when the alert fired. If the problem started earlier, say so in chat: "The latency started climbing at 09:00 UTC, before the alert fired."
- **Don't assume the alert is right**: Elastic nightshift can find that an alert fired on a short burst, or for a reason other than the one the rule name suggests. Read **Impact** before you escalate.
- **Investigating the same rule repeatedly**: If you're constantly investigating the same alert, let an automation do it. Refer to [Automatically investigate your alerts](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/9659/solutions/observability/nightshift/use-cases/auto-investigate-alerts).


## Next steps

- [Automatically investigate your alerts](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/9659/solutions/observability/nightshift/use-cases/auto-investigate-alerts): Have every matching alert investigated and the results posted to Slack.
- [Investigate anything](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/9659/solutions/observability/nightshift/use-cases/investigate-anything): Learn how to read results, check the hypothesis tree, and ask follow-up questions.
- [How investigations work](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/9659/solutions/observability/nightshift/investigation): Learn how far to trust a conclusion.