Alerting

How to troubleshoot why alert emails are not getting sent?

tmontney
Builder

I've configured the email settings on Splunk, but emails won't send. In the logs, I'm seeing the server referenced as "localhost". I've restarted the Splunk server, but it doesn't seem to be taking effect.

0 Karma
1 Solution

tmontney
Builder

Never mind, I got the scheduled alert to send and took off using SSL. It worked fine. Looks like the issue is with my command, not the settings.

View solution in original post

0 Karma

tmontney
Builder

Never mind, I got the scheduled alert to send and took off using SSL. It worked fine. Looks like the issue is with my command, not the settings.

0 Karma

woodcock
Esteemed Legend

You should click Accept on your own answer to close the question.

0 Karma

tmontney
Builder

I'd also like to add I'm running this via Search. The alert ran on schedule, and it seemed to be producing different results.

index="wineventlog" EventIdentifier="4624" | sendemail to="MYEMAILADDRESS"
0 Karma

woodcock
Esteemed Legend

You need to configure the email server settings on your search head. This link shows you how to use Gmail, which should be good for testing purposes:
http://blogs.splunk.com/2014/06/27/splunk-alerts-using-gmail-twitter-phone-calls-and-much-more/

Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...