Getting Data In

Monitoring logs sent by email to splunk


Hello Splunkies,

I was wondering if splunk could monitor a logs sent by email to splunk server. if yes how this could be done?

0 Karma

Path Finder

Just a follow up to see whether the inbound SMTP feature may be part of the arsenal now? Or alternatively a splunk triggered checking of a mailbox? Say IMAP or whatever and then extracting the content for indexing?

Sure simple SMTP hack isn't that big of a deal but I am hoping someone has already done it if not already integrated into the latest version of enterprise?

0 Karma


Splunk in itself has no SMTP server and so cannot out of the box receive emails. However thanks to scripted inputs you can do all kinds of weird (and wonderful!) things to get data into Splunk. Simply put, set up some kind of solution for

  1. Receiving emails (use your SMTP server of choice...postfix, sendmail...)
  2. Extracting the contents of these emails (some kind of script)

Once you have that in place, Splunk can run the script as a scripted input and consume the script's output, thus getting the data from the emails into Splunk.

0 Karma
Get Updates on the Splunk Community!

Using Machine Learning for Hunting Security Threats

WATCH NOW Seeing the exponential hike in global cyber threat spectrum, organizations are now striving more for ...

Observability Newsletter Highlights | March 2023

 March 2023 | Check out the latest and greatestSplunk APM's New Tag Filter ExperienceSplunk APM has updated ...

Security Newsletter Updates | March 2023

 March 2023 | Check out the latest and greatestUnify Your Security Operations with Splunk Mission Control The ...