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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...