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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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