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

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...