Getting Data In

Monitoring logs sent by email to splunk

royimad
Builder

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

bbiandov
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

Ayn
Legend

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!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...