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!

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...