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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...