Reporting

How to forward email client logs to Splunk?

saifuddin9122
Path Finder

Hi,

I am sending emails through email client, say for example mailgun. It has logs in the mailgun which would store my email logs only for 30 days. I would like to forward those logs to Splunk. Is it possible, and if so, how?

Thanks.

btcdirectinfra
Explorer

Good question. I would also like to do this.

0 Karma

saifuddin9122
Path Finder

Hello
i would like to know which email client logs you are trying to forward??

0 Karma

btcdirectinfra
Explorer
0 Karma

btcdirectinfra
Explorer

The log that is displayed in mailgun.
I think it is retrievable by api:
https://documentation.mailgun.com/api-events.html#events

So i would have to build a script to retreive the data and store it into a logfile. And ofcourse some logrotation.
After that, adding the file to Splunk and fieldextraction should be no problem.

0 Karma

saifuddin9122
Path Finder

Thanks for your reply

i would also look into it and keep posted

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...