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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...