Dashboards & Visualizations

One Month Time Axis

cpmesh
Engager

Is there any way to force the x axis range to be the last one month and to change based on the current date?

I'm looking to plot data for the past month each time the dashboard is opened without having to modify the minimum and maximum fields each time the dashboard is opened.

Tags (2)
1 Solution

sideview
SplunkTrust
SplunkTrust

Absolutely. set the timerange on the search to be

earliest=-1mon latest=now

In the TimeRangePicker you'll see a 'custom time' option. There's a relative time section in that, or the advanced section. You'll be able to enter this in either of those.
Then save your search or report with that time range and that's what you need.

View solution in original post

sideview
SplunkTrust
SplunkTrust

Absolutely. set the timerange on the search to be

earliest=-1mon latest=now

In the TimeRangePicker you'll see a 'custom time' option. There's a relative time section in that, or the advanced section. You'll be able to enter this in either of those.
Then save your search or report with that time range and that's what you need.

Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...