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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...