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!

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, ...