Reporting

Where does splunk log email failures

adoshi
Explorer

It seems that Splunk is not sending the emails when the alerts are triggered. Is there any place where I can see what errors were logged when splunk tried to send the alert email?

Labels (1)
Tags (1)
0 Karma

Amandeepsin
New Member

Check

cat /var/log/maillog

Check if any connection is refused by SMTP Server... If yes, then inform your IT Team

0 Karma

Amandeepsin
New Member

Try to check under Server Settings and Then Email Settings
Afterwards check Alert Action on Splunk UI

0 Karma

johnquinn
Explorer

Maillog doesn't exist on Insights for infrastructure and our python.log file is empty.
SMTP server settings are set the same way as many other systems, but the alerts from splunk do not get sent.
Need a way to troubleshoot the issues.

Thanks,

0 Karma

yannK
Splunk Employee
Splunk Employee

Check in $SPLUNK_HOME/var/log/splunk/python.log

or use the search :
index=_internal source=*python.log*

gjanders
SplunkTrust
SplunkTrust

I created an alert called "AllSplunkEnterpriseLevel - Email Sending Failures", if you needed an example it's available in github here or the app with all the alerts is available here, Alerts For Splunk Admins

0 Karma

adoshi
Explorer

Thank you.

0 Karma

woodcock
Esteemed Legend

You should click Accept on this answer, @adoshi, to close the question.

0 Karma

gjanders
SplunkTrust
SplunkTrust

@woodcock it might be worth noting this is a 2012 post and the user was last seen in 2015...

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...