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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...