Alerting

How to change the "FROM" address when alert emails are sent?

adityapavan18
Contributor

As of now when email alerts are sent, the from address is the hostname of server sending the alert.
Is it possible to change that to a generic one like the internal splunk support team.

eg: As of now the from in email alerts is

splunk@reportingserver.com

Can i get it changed to

splunksupport@company.com

Tags (2)

klemaned
Explorer

[email]
from =

The @domain.com portion is applied by the email relay server

0 Karma

snethala_splunk
Splunk Employee
Splunk Employee

Create a file alert_actions.conf on the system/local of the SH, and have the below config, then restart.
cat /opt/splunk/etc/system/local/alert_actions.conf
[email]
from = splunksupport@company.com

Note: - This was an old question, providing a direct answer, than getting into docs and investigating.

s2_splunk
Splunk Employee
Splunk Employee

See the documentation for alertactions.conf here, specifically the from= attribute under the [email] stanza.

Get Updates on the Splunk Community!

Maximize the Value from Microsoft Defender with Splunk

 Watch NowJoin Splunk and Sens Consulting for this Security Edition Tech TalkWho should attend:  Security ...

This Week's Community Digest - Splunk Community Happenings [6.27.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...

Reminder! Splunk Love Promo: $25 Visa Gift Card for Your Honest SOAR Review With ...

We recently launched our first Splunk Love Special, and it's gone phenomenally well, so we're doing it again, ...