Splunk Search

Monitoring email status

nonno_pinto
Engager

Hi everyone!

My goal is to create an alert to monitor in ALL saved search if there's any email that no longer exist (mainly, colleagues that left the company or similar).

My idea was to search for the same patter of Mail Delivery Subsystem that happens when sending an email from Gmail (or any other) to a non-existing mail. Bud didn't find anything in _internal index, nor with a rest to saved search and index=mail is empty.

Amy idea?

Tags (3)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Are you trying to find errors send email *from* Splunk or using Splunk to find any email sending errors?  I'll assume the former for now.

Splunk logs email it sends in python.log.  Searching for "sendemail" should find them.  The only errors you're likely to find are failures to pass the email to the SMTP server.  Any failures beyond that point would be sent as mailer-daemon messages to the sending mailbox.  You'll only be able to search for those if you are Splunking the mailbox (not common).

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Are you trying to find errors send email *from* Splunk or using Splunk to find any email sending errors?  I'll assume the former for now.

Splunk logs email it sends in python.log.  Searching for "sendemail" should find them.  The only errors you're likely to find are failures to pass the email to the SMTP server.  Any failures beyond that point would be sent as mailer-daemon messages to the sending mailbox.  You'll only be able to search for those if you are Splunking the mailbox (not common).

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...

AI Adoption Hub Launch | Curated Resources to Get Started with AI in Splunk

Hey Splunk Practitioners and AI Enthusiasts! It’s no secret (or surprise) that AI is at the forefront of ...