Monitors track your metrics and logs data in real time and send notifications when noteworthy changes happen in your production applications.
Learn how Monitors differ from Scheduled Searches.
The frequency at which a Monitor executes depends upon a variety of factors, such as the underlying query, the operators used, and the detection window. It can vary from a couple of seconds to a few minutes.
If, for example, the detection window of your alert is one day it will be evaluated every couple of minutes, whereas if the detection window of the monitor is 15 minutes then it will be evaluated every couple of seconds.
- Log Monitors use the role search filter of their creator.
- Log Monitors delay execution by two minutes. This means it won't evaluate data from the current time, but evaluate data from two minutes ago. This ensures that any delays in ingestion are factored in and won't generate false positive or false negative alerts.
- Enterprise and Trial plan customers can have up to 1,000 Log Monitors.
- Essentials and Professional plan customers can have up to 300 Log Monitors.
- Free Trial customers can have up to 50 Log Monitors.
Log monitors in a triggered state can auto-resolve.
- Static Fields Log monitors will trigger/resolve based on the value of a field returned by their search. If no data is returned by the query, then chart data is not ingested. If it has been a full detection window or more since a trigger condition was matched, then no data results in the monitor/group getting resolved.
- Missing Data monitors will auto-resolve if it has not seen any data for the last 24 consecutive hours.
- Non-grouped monitors will trigger again after auto-resolving if there is still no data.
- Grouped monitors will be removed and no longer considered after being auto-resolved, unless data for this group is seen again.
- Metrics Monitors delay execution by one minute.
- Enterprise and Trial plan customers can have up to 1,500 Metric Monitors.
- Essentials and Professional plan customers can have up to 500 Metrics Monitors.
- Free Trial customers can have up to 50 Metrics Monitors.
Notifications are optional and available as an alert and recovery for each trigger condition you specify, Critical, Warning, and Missing Data.
- Monitor evaluation for each trigger type (Critical, Warning or Missing Data) happens independently. Each trigger type's lifecycle is managed separately and doesn't have any impact on other trigger types. So it is possible for a monitor to be in Critical and Warning state at the same time. Monitor goes back to normal when it is not in either of Critical, Warning and Missing Data states.
- When both Critical and Warning conditions are met, two separate alerts and notifications are generated - one for the Critical condition and one for the Warning condition. Auto resolution, if set up, will work according to the resolution condition for each case.
- Metric Monitors have the option to group notifications. When configured, the Monitor will not trigger new notifications until the first one is resolved. The Monitor will only update if the notification type supports Auto Resolution. Grouped notifications will resolve when all the time series return to normal.
- Log Monitors always group notifications.
- Recovery is based on the detection window, which is either the time range or the number of data points of the trigger condition. An alert is recovered (resolved) when the recovery condition is met for the entire duration of the detection window.
- For example, if an alert is triggered at 1:00 PM and the detection window is 15 minutes, the earliest the alert would recover is after 1:15 PM since the entire detection window must pass. This is to ensure there isn't an alert between the triggered and resolved state, especially for metrics that are volatile.
- Auto Resolution is supported with Email, Lambda, Microsoft Teams, OpsGenie, PagerDuty, Slack, and generic webhook connections.
- Recovery Payload customization is supported for Slack, Microsoft Teams, AWS Lambda, Azure Functions, generic webhooks, PagerDuty, OpsGenie, and ServiceNow.
- For the rest of our Connections, you can customize the Alert Payload, but not the Recovery Payload. What you enter for the Alert Payload will be used for both alerts and recovery.
- The recovery notification is sent to the same channel where the corresponding Alert notifications were sent. In other words, you cannot have different channels where you receive alert and recovery notifications for a given trigger condition.
- After one day without new data to an incident, the system automatically expires it. The incident is marked as resolved with the resolution set to Expired.
Here are the technical terms used in Monitors.
This can be Static, Dynamic, Anomaly, or Outlier.
The monitor is in a disabled state when monitors are not processed by the backend, only their definition is persisted in the database.
When a specific alerting condition is met, as defined on the monitor, an incident is triggered.
The monitor is the object that you configure within Sumo Logic that:
- Checks for specific events of interest against a data source, based on your specified conditions. Events of interest are used in a general sense to denote an event that may be of interest to you.
- Notifies you about the event-of-interest based on your preferences.
The underlying data stream, either logs or metrics, on which the monitor is created.
When a monitor is in a mute state, it continues to process your data stream as expected where alerts are still generated. However, notifications are suppressed based on your mute condition. See also: Muting Schedules.
The process of closing an incident.
The state of the monitor can be one of the following, Normal, Critical, Warning, or Missing Data.
The section that describes the actual connection attributes.
The static condition which when met an incident is triggered by a monitor.
The state when an alert condition has been met, and an incident has been created as a result.
Type of Alert/Trigger condition defined Critical/Warning/Missing Data.
Custom variables used inside the Action Payload.
- Receipt Time is not supported.
- LogReduce / LogCompare operators are not supported in Monitors. If your query contains these operators, you will not be able to create the monitor.
- Monitors only support the Continuous data tier.
- An aggregate Metric Monitor can evaluate up to 15,000 time series. A non-aggregate Metric Monitor can evaluate up to 3,000 time series.
- Save to Index and Save to Lookup are not supported.
- Search templates are not supported.
- A Log Monitor can have one query up to 15,000 characters long. Metric Monitors can specify up to six queries.
- Email notifications can have up to 100 recipients.
- The timeshift metrics operator is not supported in a Metric Monitor.
- Hidden Metrics queries do not persist across edit sessions.
- The last millisecond of the defined time range is not searched. For example, a time range of 6:15 to 6.30 pm will run as 6:15:00:000 to 6:29:59:999.