Reporting

How to create a monthly report that emails out to a certain recipient on the 1st of each month with the previous month's data?

AaronMoorcroft
Communicator

Hi Guys

What's the best way of creating a monthly report that emails out to a set person? It needs to run on the 1st of each month and the data shown needs to be the data from the month previous.

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Create a scheduled search using a cron schedule similar to 0 1 1 * * which tells Splunk to run the search at 1:00 on the morning of the first day of the month. Set the start time to -1mon@mon and the finish time to @d. Tick the "Send email" box and fill in the recipient's address then save the search.

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

View solution in original post

lavanyaanne
Path Finder

you can Schedule the Alert 1st of each month then you will get the Report.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Create a scheduled search using a cron schedule similar to 0 1 1 * * which tells Splunk to run the search at 1:00 on the morning of the first day of the month. Set the start time to -1mon@mon and the finish time to @d. Tick the "Send email" box and fill in the recipient's address then save the search.

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

AaronMoorcroft
Communicator

Thank you 🙂

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...