Dashboards & Visualizations

How can I get a range of one month since days vary from 30 to 31 days?

nadxieli
New Member

You can make ranges by months to show it in a drilldown since the days of the months are varied

0 Karma

woodcock
Esteemed Legend

Use relative-time specifiers like @mon for the start of this month and @mon+1mon-1day for the end of this month, e.g.:

|makeresults
| eval start=relative_time(now(), "@mon"), end=relative_time(now(), "@mon+1mon-1d")
| convert ctime(*)
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...