All Apps and Add-ons

Logging office365 email attachment name into Splunk using rest api

sayantabasak
Explorer

Hello,

I have been working with o365 reporting addon to extract email trace logs. This works fine but it misses out on one vital bit of information and that is the email attachment name/extensions. Seeking you help to configure splunk to able to pull this information over rest api from o365.

There are answers which points to usage of python script to make this possible , but would appreciate if a bit more clarity is given on that

Addon being used: TA-MS_O365_Reporting

Regards
Sayanta B

jconger
Splunk Employee
Splunk Employee

The Microsoft Office 365 Reporting Add-on for Splunk uses the MessageTrace report contained in the Office 365 reporting web service. Here's a link to the MessageTrace report detail -> https://docs.microsoft.com/en-us/previous-versions/office/developer/o365-enterprise-developers/jj984...

Unfortunately, attachment data is not exposed by this report, so the add-on doesn't get it.

0 Karma

sayantabasak
Explorer

Thank you. I am looking for the email header values like attachment details and orginal sender in case of a spoofed email. Any way to achieve this just with outlook and splunk integration?

0 Karma

andrewzuehlke
Explorer

I am also very interested if you came across any solution for this if you have found one 🙂

0 Karma

lznger88_2
Path Finder

Hi Sayantabasak, did you find a way to achieve this?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...