Splunk Enterprise

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

Ashwini008
Builder

Hi,

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

danspav
SplunkTrust
SplunkTrust

Hi @Ashwini008,

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

https://splunkbase.splunk.com/app/1739/

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!

Pro Tips for First-Time .conf Attendees: Advice from SplunkTrust

Heading to your first .Conf? You’re in for an unforgettable ride — learning, networking, swag collecting, ...

Raise Your Skills at the .conf25 Builder Bar: Your Splunk Developer Destination

Calling all Splunk developers, custom SPL builders, dashboarders, and Splunkbase app creators – the Builder ...

Hunt Smarter, Not Harder: Discover New SPL “Recipes” in Our Threat Hunting Webinar

Are you ready to take your threat hunting skills to the next level? As Splunk community members, you know the ...