On Splunk 6.2.1.
We have many email alerts that are working fine (email alerts arrive as expected from
[email protected]). However one of our alerts sends email from
[email protected]. I do notice that whenever I make edits from the Splunk Web UI to this alert and click done, if I look in etc/apps/search/local/savedsearches.conf I see a line like:
action.email.from =
[email protected]
I don't want this. There is no 'from' field in Splunk Web. If manually remove this line from the savedsearches.conf file, it is restored after my next edit from Splunk Web.
Our etc/system/local/alert_actions.conf is like:
[email]
auth_password = **
auth_username =
[email protected]
mailserver = smtp.sendgrid.net:465
use_ssl = 1
hostname = splunk.corp.mycompany.com
from =
[email protected]
What am I missing? How can I set this alert to go out from
[email protected] like all our other alerts?
I don't see anything different in the alert config, but including redacted version here for completeness:
[My Alert]
action.email = 1
action.email.from =
[email protected] # this line keeps coming back
action.email.inline = 1
action.email.message.alert = Dev Spike needs attention!
action.email.reportServerEnabled = 0
action.email.sendresults = 1
action.email.subject.alert = My Alert
action.email.to =
[email protected]
action.email.useNSSubject = 1
alert.suppress = 1
alert.suppress.period = 60m
alert.track = 1
counttype = number of events
cron_schedule = */1 * * * *
description = My Description
dispatch.earliest_time = @m-1m
dispatch.latest_time = @m
display.events.fields = ["host","source","sourcetype","severity"]
display.visualizations.chartHeight = 908
enableSched = 1
quantity = 0
relation = greater than
request.ui_dispatch_app = search
request.ui_dispatch_view = search
search = ***
... View more