Admin Manual

 


About the Splunk Admin Manual
How Splunk Works

Customize alert options

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

Customize alert options

Edit alert_actions.conf to specify the message subject and from address used for alert emails. For more information on configuration files in general, see how configuration files work.

Note: Email must be enabled on your Splunk server to send alerts. Or you can specify another email server, but your Splunk server must be able to connect to it.


Configuration

Add a stanza to alert_actions.conf. Edit this file in $SPLUNK_HOME/etc/system/local/, or your own custom application directory in $SPLUNK_HOME/etc/apps/.

Global settings

Global options: these settings do not need to be prefaced by a stanza name. If you do not specify an entry for each attribute, Splunk will use the default value.

maxresults = <int>

hostname = <string>

Email

Configure email options for alerts. Preface email settings with the [email] stanza name.

[email]

from = <string>

subject = <string>

format = <string>

inline = <true | false | auto>

mailserver = <string>

Example

The following example alert_actions.conf sets e-mail options for alerts.

[email]
from = alert@mysplunk.com
subject = daily log review
format = plain

RSS

[rss]

items_count = <number>

This documentation applies to the following versions of Splunk: 3.3 , 3.3.1 , 3.3.2 , 3.3.3 , 3.3.4 , 3.4 , 3.4.1 , 3.4.2 , 3.4.3 , 3.4.5 , 3.4.6 , 3.4.8 , 3.4.9 , 3.4.10 , 3.4.11 , 3.4.12 , 3.4.13 , 3.4.14 View the Article History for its revisions.


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

Was this documentation topic helpful?

If you'd like to hear back from us, please provide your email address:

We'd love to hear what you think about this topic or the documentation as a whole. Feedback you enter here will be delivered to the documentation team.