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!

Platform Highlights | November 2022 Newsletter

 November 2022 Skill Up on Splunk with our New Builder Tech Talk SeriesCan you build it? Yes you can! *play ...

Splunk Education - Fast Start Program!

Welcome to Splunk Education! Splunk training programs are designed to enable you to get started quickly and ...

Five Subtly Different Ways of Adding Manual Instrumentation in Java

You can find the code of this example on GitHub here. Please feel free to star the repository to keep in ...