Splunk Enterprise

How to read data from email in outlook and index it in splunk?



I have requirement where I have to read data from an email in outlook and index it in splunk.

Every week after deployment work we get email. I want to read the date field present in those email and index it in Splunk. The data is directly in email and not in any attachment form.

Is there a way where i can read my data from outlook email every week once and index it in splunk?

Thank you

0 Karma


Hi @Ashwini008,

I have set this up before using this app from Splunkbase: IMAP Mailbox


It hasn't been updated in a while, but will still do the job. 

You will need your exchange admin to configure your account to be IMAP enabled in order to use this. It also works on gmail with IMAP enabled.

If you want to use it in Splunk 8.0+ I'd recommend converting it to python3 using 2to3.



Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...