Alerting

I've some customized setting in alert_actions.conf within an app, how can I make this global and apply to other apps also?

daniel_splunk
Splunk Employee
Splunk Employee

I've make this alert configuration
$SPLUNK_HOME/etc/apps/My_config/local/alert_actions.conf
[email]
auth_password =
auth_username =
from = splunk.test
hostname = 10.1.1.1
mailserver = smtp.mytesting.com:465
use_ssl = 1
use_tls = 0
footer.text = My tailor-made footer

Upon testing, only saved searches under My_config app be able to use this configration. Saved search in other apps cannot use this configuration.

Tags (3)
0 Karma

daniel_splunk
Splunk Employee
Splunk Employee

By default, alert_actions.conf scope to its own app.

Add the following stanza and you should be able to make it global.

Go to $SPLUNK_HOME/etc/apps/My_config/metadata/local.meta
[alert_actions/email]
version = 6.2.0
export = system

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...