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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...