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.

  • An admin has enabled Elastic nightshift. Until then, you won't see an Investigate action for alerts.
  • You have the privileges to start investigations. Refer to Grant access.
  • 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.

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.

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.
  2. Find the alert, open its 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.

Alert episodes come from the Universal Alerting.

  • 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.

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 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.

  • 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.