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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...