Reporting

Collect attachments in email as input.

JWBailey
Communicator

I have an application that is able to output data via attachments in email.

I am interested in collecting the data from those attachments into splunk. Is there an easy way to have splunk input the attachments? Nothing complex, the attachments are either CSV or XLS files.

I understand it is probably better to input via a different mechanism, but the application owner is hesitant to make changes to the current system.

Thank you,

0 Karma

richgalloway
SplunkTrust
SplunkTrust

I had a similar problem and solved it by writing a scripted input that used the Office365 REST API to read emailed attachments. If you don't use Office365 then you may be able to use the IMAP Mailbox app.

---
If this reply helps you, Karma would be appreciated.
0 Karma

vmicovic2
Explorer

same here...

0 Karma

midwest_mexican
New Member

do you have code to share to you used to do this? I'm running into the same issue.

0 Karma

Smith_Splunk
Explorer

Hi All,

I have the similar use case, But IMAP app won't support reading attachment.
Does any one know the steps to proceed on this.

Thanks,
Smith

0 Karma
Get Updates on the Splunk Community!

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...