Dashboards & Visualizations

View element attributes

rroberts
Splunk Employee
Splunk Employee

What is the meaning of the isSticky and isPersistable attributes on the view element? Seems the default is true for both. (see ?showsource=1 )

Tags (2)
0 Karma
1 Solution

gjaya
Engager

In the tag at the top of the view you can just put the following attribute:

isSticky="false"
and that will turn off all sticky persistence for the entire view. So the TimeRangePicker as well as a couple other modules like the Count module and the Segmentation module, will no longer remember any previous selections.

isPersistable is a little different in that it governs whether saved searches and saved reports should get saved with a snapshot of the current view's viewstate.

Note that if you're coming to the view on any kind of permalink where there's a q=search foo, or sid=123121452, or s=some_saved_search in the URL, the TimeRangePicker will always set itself to that search's timerange no matter what.

View solution in original post

0 Karma

gjaya
Engager

In the tag at the top of the view you can just put the following attribute:

isSticky="false"
and that will turn off all sticky persistence for the entire view. So the TimeRangePicker as well as a couple other modules like the Count module and the Segmentation module, will no longer remember any previous selections.

isPersistable is a little different in that it governs whether saved searches and saved reports should get saved with a snapshot of the current view's viewstate.

Note that if you're coming to the view on any kind of permalink where there's a q=search foo, or sid=123121452, or s=some_saved_search in the URL, the TimeRangePicker will always set itself to that search's timerange no matter what.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...