Splunk® Enterprise

Alerting Manual

Download manual as PDF

This documentation does not apply to the most recent version of Splunk. Click here for the latest version.
Download topic as PDF

Create per-result alerts

The per-result alert is the most basic type of alert. It runs in real-time over an "all-time" time span. The alert triggers whenever the search returns a result.

You can create a search to retrieve events from an index. You can also use use transforming commands to return results based on processing the retrieved events. A per-result alert triggers in both cases, when the search returns an event or when a transforming command returns results.

Create a per-result alert

The following procedure shows how to create a per-result alert.

  1. From the Search Page, enter the following search:

    index=_internal (log_level=ERROR OR log_level=WARN* OR log_level=FATAL OR log_level=CRITICAL) | stats count as log_events

  2. Select Save As > Alert
  3. In the Save As Alert dialog box, enter a Title for the alert.
  4. For Alert Type, select Real Time.
    A per-result alert is always a real-time alert type.
  5. For trigger condition, select Per-Result.
    For a per-result alert, you can select only the Per-Result trigger condition.
  6. Click Next.
  7. Select the actions you want to enable.
    For this example, select List in Triggered Alert.

    See Set up alert actions for information on other actions.
  8. Click Save.
  9. Click Continue Editing.
About alerts
Create scheduled alerts

This documentation applies to the following versions of Splunk® Enterprise: 6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.2.4, 6.2.5, 6.2.6, 6.2.7, 6.2.8, 6.2.9, 6.2.10, 6.2.11, 6.2.12, 6.2.13, 6.2.14, 6.2.15


Ok, I see that the page was completely revised on May 9, 2014 and went from a long page to a shortened page. That's fine, but include the info somewhere else please.

January 21, 2015

Hello! The per-result alert page for 6.2.0 & 6.2.1 do not include the "Set up throttling for a per-result alert" section, and I can't find any other documents where this is addressed. This is a necessary feature for real-time searches, and the "Suppress results with field value" is not explained anywhere that I can find. If these items are discussed somewhere else, please let us know. Up until and including version 6.1.6 included a much longer per-result page. I found the answer, but it would be helpful for many others if the explanation is included in the documentation. Sherman

January 21, 2015

Was this documentation topic helpful?

Enter your email address, and someone from the documentation team will respond to you:

Please provide your comments here. Ask a question or make a suggestion.

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters