Dashboards & Visualizations

The default value for TimeRangePicker is not working for 'admin' user.

asingla
Communicator

I set the default value for TimeRangePicker to 5 minute window and I also mentioned the isSticky to false for my view. For 'admin' user, It always shows selected time as '1 hour window' on page load no matter what I set the default value to. For the users which I created, It works fine.

Is there anything I am am missing.

PS: I created customized times.conf for my app.

Tags (2)

sideview
SplunkTrust
SplunkTrust

The issue here concerns viewstates and the somewhat unintuitive behavior of isSticky=False

This is discussed in detail here:
http://splunk-base.splunk.com/answers/9741/timerangepicker-wont-hold-value-on-dashboard

and the short version is that you would expect that setting isSticky to False would
a) no longer preserve or remember any values going forward.

and
b) ignore all previously stuck values

But unintuitively, it only does "a". So any user that still has a previously stuck value, will get that value set forever.

you can go find a viewstates.conf stanza for the admin user, and manually delete their preserved viewstate for the flashtimeline view.

Again, this answer discusses it more fully:
http://splunk-base.splunk.com/answers/9741/timerangepicker-wont-hold-value-on-dashboard

helge
Builder
0 Karma

anssntaco
Path Finder
0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...