Reporting

How to deploy SMTP email config on search heads?

brent_weaver
Builder

Hello all!

I am trying to get a central config for smtp email config that I will deploy to my search heads. I notice when I go into the UI under Server Settings -> Email settings that I can configure smtp. I notice it created a file called alert_actions.conf in etc/system/local. So I assume (like everything else in splunk) I can deploy this as part of an app that splunk will read for its email config. The problem is that when I remove this file, the email config stays intact in splunk. Is this the only place this info is stored? What am I missing?

muebel
SplunkTrust
SplunkTrust

Hi brent_weaver, alert_actions.conf is indeed where the mailserver settings are. Here's the doc on it : http://docs.splunk.com/Documentation/Splunk/6.3.0/Admin/Alertactionsconf

Did you restart splunk after removing alert_actions.conf? Splunk will cache many config settings in memory.

Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...