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!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

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

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...