Skip to main content

Alert Response

alert-and-notify.png

Alert response provides contextual insights about triggered alerts to minimize the time needed to investigate and resolve application failures. An alert provides curated information to on-calls to help them troubleshoot issues more quickly.

On-call engineers are tasked with firefighting production issues and recovering quickly. They have to investigate issues and try to identify the root cause and fix it, which requires deep knowledge about the production systems, troubleshooting tools, and tons of experience as on-calls. 

By assembling relevant context from prior alerts and by analyzing patterns in logs and metrics underlying alerts, Sumo Logic alert response enables on-call engineers to cut down the time spent piecing together insights during an incident from various sources and accelerate recovery.

Micro Lesson

Learn how to use alert response.

Setting up alert response

Email alerts automatically get a button labeled View Alert that opens the alert on the alert page, shown in the below image.
view alert from email.png

If you use Webhook connections offered by Sumo Logic for receiving notifications, you'll need to provide the alertResponseUrl variable in your notification payload of a monitor to receive a link that opens alert response. When your monitor is triggered, it will generate a URL and provide it in the alert notification payload, which you can use to open the alert response.

The following is an example Slack payload with the variable:

{
"attachments":[
{
"pretext":"Sumo Logic Alert",
"fields":[
{
"title":"Alert Page",
"value":"{{alertResponseUrl}}"
}
],
"mrkdwn_in":[
"text",
"pretext"
],
"color":"#29A1E6"
}
]
}

Alert List

The Alert List shows all alerts triggered by your monitors within the past 30 days. By default, the list is sorted by status (showing Active on top, followed by Resolved), and then chronologically by creation time.

To get to your Alert List from the New UI, select Alerts > Alert List. From the Classic UI, click the bell icon in the top menu.
alert-list-page-bell-border

To search, use the search bar and filters. To sort by category (for example, Name, Severity, Status), click on a column header.
search alert list.png

info

The Alerts List displays up to 1,000 alerts.

Resolving alerts

To resolve an alert, click a row to select it, then click Resolve.

Translating thresholds

Threshold translating allows you to open the alert response page in the Metrics Explorer that helps you to easily view the threshold associated with an alert. This also helps you to understand how your monitor's thresholds are translating into metrics and compare the threshold values set in a monitor with the data displayed in the Metrics Explorer chart.

For example, when you open an alert response page in Metrics Explorer, you can see critical thresholds defined with some number. You can then see that this threshold is also applied and enabled in the Metrics Explorer view, with exactly the same number defined.
arp-metrics-explorer

To view the alert response chart in Metrics Explorer, follow the steps below:

  1. Navigate to your Alert List and select the alert for which you want to view the corresponding metrics and threshold values.
  2. Click the View in Metrics Explorer button for that alert. You can click on either of the two buttons, and they both function the same way.
  3. The Metrics Explorer view will open with the graph of the metric associated with the alert.
  4. In the Threshold section of the Metrics Explorer, you can see the same threshold values for the monitor associated with the alert.
    threshold-metrics-explorer
  5. The thresholds will be enabled and only the ones that are defined in the monitor will be displayed.
    • If the alert has both critical and warning thresholds defined in the corresponding monitor, both thresholds will be displayed in the Metrics Explorer view.
    • If the alert has only a critical threshold defined in the corresponding monitor, only the warning threshold will be displayed in the Metrics Explorer view.
  6. Use this feature to compare the threshold values set in a monitor with the data displayed in the Metrics Explorer graph and gain a better understanding of how your monitors are translating into metrics.
note

Note that the same threshold translating functionality supports to Create Monitors from the Metrics Explorer and Opening Monitor in the Metrics Explorer.

Alert page

An alert page is where you can view granular details about an individual alert. To get to an alert page, go to your Alert List and click on any alert. You'll see two types of information to help get to the root cause of the issue quickly: alert details and alert context.

Alert details

The alert details section is an overview of the alert that was triggered to help you understand the issue and its potential impact. This section provides:

  • a chart to visualize the alerting KPI before and during the alert.
  • a table with the raw data that triggered the alert.
  • related alerts firing in the system around the same time.
  • the history of the given alert being fired in the past.
  • basic details about the alert like when it was fired and what triggered it.

The following images label each section of the page with a letter, see the list below the image for a description of what each does.
top of the alert response page.png

The top of the page provides several details and buttons.

  • A. Monitor name.
  • B. Copies the link to the opened Alert page.
  • C. Shows the type of monitor trigger condition that triggered the alert (Critical, Warning, or Missing Data).
  • D. Status of the Alert (Active or Resolved).
  • E. Refreshes the Alert page.
  • F. Opens the playbook associated with this monitor.
    • Text playbooks allow admins to codify tribal knowledge for an on-call so they know what exactly to do when they receive an alert:
      playbook example.png
    • Automated playbooks run automatically when an alert is triggered:
      Automated playbooks
  • G. Opens the Monitor that generated this alert.
  • H. Resolves the Alert. This will also resolve the Monitor that generated the alert. The Monitor will fire again when the alert condition is met.
    note

    Sumo Logic automatically resolves alerts when the recovery condition defined on the monitor is met. This behavior is not configurable; you cannot prevent Sumo Logic from resolving a monitor. While it is technically possible to set a recovery condition that prevents Sumo Logic from resolving a monitor, this is not recommended. Doing so may suppress unrelated alerts from being fired.

    alert page sep 23.png
  • K. The red exclamation mark indicates the alert is still active and a white exclamation in the gray circle indicates it's resolved.
    labels
    • Related Alerts. A panel with Related Alerts and the monitor History. It shows other alerts in the system that were triggered around the same time as this alert. This information is helpful to know what issues are happening in the system and whether the current problem is an isolated issue or a more systemic one. There are two types of relations that a related alert can have.
      related alerts
      • Time. Shows all the alerts that were triggered 30 minutes before or after the given alert that doesn't have another association.
      • Entity. Shows all the alerts that were triggered one hour before and after the given alert that happened on the same entity (node, pod, cluster, etc.). You can click the expand arrow expand arrow.png to view the alert's trigger condition and the white arrow in the square open in new tab icon.png to open the alert in its own Alert page.
    • Monitor History. Shows the past 30 days of similar alerts that were triggered by the monitor (that generated the current alert). Monitor History can be helpful to determine how frequently an alert has fired in the past and if the alert is flaky. You can then quickly correlate whether the current problem is similar to a past one by comparing the information shared for the alert.
  • L. The query of the monitor.
    labels
  • M. A chart that visualizes the trend of the metric that was tracked as part of the alert condition of the monitor. The visualization tracks the before and during trends of the metric.
  • N. A table with the raw data that triggered the alert.

Below this, as you scroll down on the page, you'll see context cards covered in the next section.

Limitations
  • The Alert visualization, labeled M, is only shown for alerts less than 30 days old. 
  • Related Alerts and Monitor History show the top 250 alerts.

Alert context cards

Alert context is system-curated information helps you understand potential underlying symptoms that might be causing the issue. It provides additional insights automatically discovered by the system through data analysis. Using artificial intelligence and machine learning, the system tracks your logs and metrics, identifies patterns that may explain the issue, and presents them as context cards.

Depending on the type of data an alert is based on (metrics or logs) and the detection method (static or outlier), you'll see different context cards. You will see a progress spinner labeled Analyzing alert content at the bottom of the window when cards are still being loaded. It may take a minute for some cards to load.
analyzing alert content.png

Alert tags

See Using tags in alerts.

Log fluctuations

This card detects different signatures in your log messages using LogReduce such as errors, exceptions, timeouts, and successes. It compares log signatures trends with a normal baseline period and surfaces noteworthy changes in signatures.

  • New. Log signatures that were only seen after the Alert was triggered but not one hour prior to the Alert start time.
  • Gone. Log signatures that are not present after the Alert was created but were present one hour prior to the Alert start time, such as Transaction Succeeded or Success.
  • Diff. Log signatures whose counts have changed after the alert when compared to one hour prior to the Alert start time.
note

The Log Fluctuations card will only work with log monitors at this time. It is not rendered for monitors driven by metrics.

Use the Open button to view the Log Search that provided the Log Fluctuation insights. The box with an arrow icon open drilldown button.png opens a Log Search pivoted on a given signature.

log fluctuations.png

  • A. The name of the card (Log Fluctuation) and a short description of what it does.
  • B. A link to open the log query that populated the card, in the log search page.
  • C. A summary of the discovered NEW, GONE, and DIFF signatures, and how many log messages belong to each type.
  • D. The details about the identified log signature.
  • E. A histogram showing how many log messages mapped to the given signature after the alert (red bar) and before (gray bar) the alert.
  • F. Option to collapse the expanded details.
  • G. Opens a Log Search filtered to the Log messages that mapped to the given signature.

Anomalies

This card detects time series anomalies for entities related to the alert. These insights are powered by the Root Cause Explorer.

Anomalies are grouped into golden signals. Anomalies are also presented on a timeline; the length of the anomaly represents its duration.
anomalies .png

  • A. The name of the card (Anomalies) and a short description of what it does.
  • B. Count of anomalies belonging to each golden signal type.
  • C. A timeline view of anomalies with their start time and duration, the domain (e.g. AWS, Kubernetes), and the entity on which it was detected. Anomalies may be grouped based on connections between entities and similarity of metrics. For example, anomalies on EC2 instances that are members of an AutoScaling group may be grouped together. The count shown in each anomaly refers to the number of grouped anomalies.
  • D. A link to view the anomalies in the Root Cause Explorer.
note

Only Anomalies with a start time around 30 minutes before or after the Alert was created show up in the card.

Hover over an EOI to view key information about the event.
eoi-stats.png

Click on the EOI to open the Summary View and Entity Inspector.
entity inspector.png

Dimensional Explanations

This card analyzes log data and surfaces dimensions or key-value pairs that drove it to an alerting state. For example, the card below has identified that ~80% of the alert logs have the field log.Error with the value could not retrieve cart: rpc error: code and is therefore a recommended item to investigate.
dimensional explanation.png

  • A. The name of the card (Dimensional Explanations) and a short description of what it does.
  • B. A link to open the log query that populated the card, in the log search page.
  • C. Groupings of the discovered key-value pairs by the count of keys and the percentage of log messages found with the key.
  • D. The key-value pairs in each group.
  • E. A histogram showing how many log messages with the key-value pair caused the alert (red bar) and did not cause (gray bar) the alert.
  • F. Option to collapse the expanded details.
  • G. Opens a Log Search filtered to the Log messages that mapped to the given signature.

Benchmark

Benchmarks refer to baselines computed from anonymized and aggregated telemetry data from Sumo Logic customers in domains such as AWS. If the telemetry values for your entity during an alert period are unusual compared to benchmarks, you may have an unusual configuration change or other backend issues. 

For example, the card below shows that ServiceUnavailable error is happening 32 times more often in your AWS account compared with other Sumo Logic customer’s accounts. This AWS error pertains to AWS API calls that are failing at a higher rate than what is expected based on cross-customer baselines. This particular error implies an AWS incident affecting the particular AWS resource type and API. 
benchmark card.png

  • A. The name of the card (Benchmark) and a short description of what it does.
  • B. Count of unusual Benchmarks by golden signal type.
  • C. Dimensional detail of the unusual telemetry value.
  • D. Comparison of your telemetry value (red bar) against benchmarks computed from other customers (gray bar).
  • E. Expand/collapse details panel.
  • F. Opens a Log Search filtered to the Log messages that match the dimensional details of the telemetry value

Subscribe to monitors

From your Alerts List

There are three places from your Alerts List to subscribe to a monitor:

  • Right-click on a row item > click Subscribe.
  • Hover your mouse over a row, click the three-dot kebab menu > select Subscribe.
  • Single-click on a row item > on the opened alert page, click the three-dot kebab menu > Subscribe to Monitor.

From your Monitors list

There are three places from your Monitors list to subscribe to a monitor:

  • Right-click on a row item > click Subscribe.
  • Hover your mouse over a row > click the three-dot kebab menu > click Subscribe.
  • Single-click on a row item > in the side panel (Monitor Details), click More Actions > Subscribe.

From a folder

If you subscribe from a monitor folder, all nested monitors and folders within that folder become automatically subscribed.

For example, if you create a subscription on “Monitor A”, and then move it to subscribed “Folder B”, “Monitor A” will have two subscriptions because it’s directly subscribed and inherits subscription from its parent folder ("Folder B").

Click to see examples

Example 1

Initial state
📁 Folder A ("No")
├── Monitor B ("No")
└── Monitor C ("No")
Create subscription on Folder A
📁 Folder A ("Yes")
├──Monitor B ("Yes (inherited from folder)")
└──Monitor C ("Yes (inherited from folder)")

Example 2

Initial state
📁 Folder A ("No")
├── Monitor B ("No")
├── Monitor C ("No")
└── 📁 Folder D ("No")
└── Monitor E ("No")
Create subscription on Folder D
📁 Folder A ("No")
├── Monitor B ("No")
├── Monitor C ("No")
└── 📁 Folder D ("Yes")
└── Monitor E ("Yes (inherited from folder)")

Example 3

Initial state
📁 Folder A ("No")
├── Monitor B ("No")
├── Monitor C ("No")
└── 📁 Folder D ("No")
└── Monitor E ("Yes")
Create subscription on Folder D
📁 Folder A ("No")
├── Monitor B ("No")
├── Monitor C ("No")
└── 📁 Folder D ("Yes")
└── Monitor E ("Yes")
Remove subscription on Monitor E
📁 Folder A ("No")
├── Monitor B ("No")
├── Monitor C ("No")
└── 📁 Folder D ("Yes")
└── Monitor E ("Yes (inherited from folder)"

To cancel an inherited subscription, you'll need to remove the subscription from a parent folder or move the monitor or folder into another location outside the folder with direct subscription.

Notification preferences

Alert notification preferences give you granular control over specific monitor activity you want to follow.
alert-list-page-bell-border

  1. Classic UI. In the main Sumo Logic menu, select your username and then Preferences.
    New UI. In the top menu, select your username and then Preferences.
  2. Click on any of the following checkboxes to enable your desired preferences:
    • Display alert badge when my subscribed monitors are triggered. the bell icon is displayed in the top nav
    • Notify about only subscribed monitors. the bell icon will only push notifications for monitors you're subscribed to
    • Enable "Active alerts only" as default filter. your Alerts list, by default, will only display alerts with an Active status (excludes Resolved ones)
      alert-preferences
    • Enable "My subscriptions" as default filter. your Alerts list, by default, will only display alerts you're subscribed to
      alert-preferences
  3. Click Save when you're done.
Status
Legal
Privacy Statement
Terms of Use

Copyright © 2024 by Sumo Logic, Inc.