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!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

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