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

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...