Dashboards & Visualizations

How to run a report based on the calendar month?

samlinsongguo
Communicator

Hi Guys

I am trying to create report for calendar week/month rather then last X days, which means
if I run the report on Thursday, it will give me result relate to Monday Tuesday Wednesday Thursday
If I run the report on Sunday, it will give me the full week report.
I also need option can pick previous calendar week/months.
Do I have to use time picker each time and choice the specific time? is there option just one click say give me this calendar week/month report and it will dynamically adjust the search time?
Thank in advance
Regards
Sam

0 Karma
1 Solution

samlinsongguo
Communicator

find the answer
need to put earilest--0month@month to give current calendar month result

View solution in original post

0 Karma

samlinsongguo
Communicator

find the answer
need to put earilest--0month@month to give current calendar month result

0 Karma

niketn
Legend

@samlinsongguo, is this for Report or Dashboard?

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

samlinsongguo
Communicator

it is dashboard

0 Karma

somesoni2
Revered Legend

There are some prebuilt time ranges available in time range picker e.g "Week to date", "Previous Week", "Previous Month" etc.

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!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...