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!

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 ...