Dashboards & Visualizations

Pulldown Switcher

behymejt2012
Path Finder

Hi Everyone,

Trying to enable a page with a PullDownSwitcher. After looking at tutorials and examples, all them include the switcher auto running when changed. I want to be able to switch and manually enable to search.

I have used the param "searchWhenChanged" in the past to disable autoRun, but when enabling it in the example, it will disable autorun, but returns an invalid alert "misconfigured view 'SwitcherModule' - unknown parameter 'searchWhenChanged' is defined for module PullDownSwitcher'

Any help with the proper syntax to complete this will be beneficial.

Below is the current PullDownSwitcher syntax i am using:


independent
Select Lookup Action

False

Tags (1)
0 Karma

ShaneNewman
Motivator

searchWhenChanged is not a param for PullDownSwitcher.

These are your only params that are not required:

optional params

disableOnNull = True | False
When this is present, the module is disabled until it is given an explicit search, or when its search is cancelled.
defaults to: False

hideChildrenOnLoad = True | False
Indicates if child modules are hidden via CSS by default
defaults to: False

selected
This specifies the group of the child that is selected when the page loads. (Group name is the group = name attribute set on the parent module.) When absent, the first child module and its ancestor tree are shown initially.

You can read more here: Module Reference

0 Karma

ShaneNewman
Motivator

Perhaps look into the SearchSelectLister module.

0 Karma
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!

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 ...