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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...