Dashboards & Visualizations

Limit dates available in custom date range picker?

cesaccenturefed
Path Finder

We have a set of dashboards for a client and we limited the time range picker to only offer date range as an option. is there a way to limit to only specific dates within the last 3 months to be the only dates they can enter into the text boxes. We don't want them to search beyond the last 3 months, but they should be able to look at the metrics for any specific day or range within those 3 days.

0 Karma

gjanders
SplunkTrust
SplunkTrust

Would the dashboard time selection presentation (recording here), slides here match this?
I suspect you could provide custom options as per the above and that might be a nice option here.

I checked the authorize.conf and you can prevent the time window from becoming too large for a role, but this wouldn't stop someone from changing the latest time to say 1 month ago and looking back 3 months from there.
If you cannot allow them to search beyond 3 months perhaps you could use summary indexing to provide only the data they should see?

Is the goal here to only offer certain options on the dashboard or to actually restrict the access to a particular period of time?

0 Karma

somesoni2
Revered Legend

Are you using Splunk's time range picker OR a free-text textbox?

0 Karma

NeerajDhapola7
Path Finder

Try Time Range from "Setting >> User interface >> Time ranges >> Add new "

0 Karma

micahkemp
Champion

Note: this will only limit the options shown. It won't limit the actual searches they can run. The user could override the timepicker values by setting earliest/latest in the search string.

0 Karma
Get Updates on the Splunk Community!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...