Skip to main content
Sumo Logic

Create a Real Time Alert

Real Time Alerts are scheduled searches that run nearly continuously. That means that you're informed in real time when error conditions exist.

When an alert condition is satisfied Sumo Logic triggers the selected alert type. Sumo Logic examines ingested data in a rolling window using the Time Range you define. Any time a new result is found, another email is sent.

Real Time Alerts are not duplicated, which means that if a specific raw log message has triggered an alert once already, that same log message will not trigger an alert a second time.

For example, if Message X caused an alert to be sent at Time T, and Sumo Logic detects Message X again at Time T+1, Sumo Logic does not send a second alert at Time T+1. But if Sumo Logic detects Message Y at Time T+1, a new alert is sent, because the root cause is different.

General limitations

  • The time range of a Real Time Alert must be between 5 and 15 minutes. 
  • Searching by receipt time is not supported.
  • A maximum of 120 emails are sent per day per Real Time Alert.
  • Aggregate real-time scheduled searches evaluate the first 1000 results per search. For Example, if the scheduled search is supposed to return more than 1000 results, reduce the scope of the search.
  • Non-Aggregate real-time scheduled searches evaluate the first 100 results per search. For Example, if the scheduled search is supposed to return more than 100 results, either covert it to aggregate scheduled search or reduce the scope of the search.
  • The _dataTier search modifier is not supported in Real Time Alert searches.

Operator limitations

  1. Some queries can not be used in Real Time Alert searches. Other operators can be used in Real Time search, but in the search, they must be included after the first "group-by" phrase:
Not supported for Real Time Alerts Must be added after a "group by" phrase
  • Count_frequent
  • Details
  • First, Last - instead use the withtime option, see most_recent and least_recent.
  • LogReduce
  • Now()
  • Outlier will omit the first N (window size) data points in results because those data points are used in the training phase.
  • Join
  • Parse using
  • queryStartTime()
  • queryEndTime()
  • Save
  • Sessionize
  • Subquery
  • Threat Intel
  • Trace
  • Timeslice greater than 1 day
  • Transactionize
  • Accum
  • Backshift
  • Diff
  • Join
  • Limit
  • RollingStd
  • Smooth
  • Sort
  • Top
  • Total
  • Transaction By Flow
  • Compare With can be used when your query's aggregate operation is grouped by a timeslice. See number 2, below, for details.
  1. Real time queries using time compare need to have at least three timeslices within its time range. For example, if the time range is 10 minutes, your timeslices need to be no longer than 3 minutes so that there are at least three of them.

Configure a Real Time Alert

To set up a Real Time alert:

  1. Save a search
  2. Click Schedule this search
  3. Run Frequency. Select Real Time.
  4. For all other configuration options, see Schedule a Search
  5. Click Save