Splunk Search

How to show/hide the drop-down option based on a value selected in another drop-down?

kkarthik2
New Member

I want to show/hide a drop-down based on a value selected from another drop-down.

  1. 1st drop-down having token, value and label. ------>$foo1$, value:Foo2 & Foo3, Lable:Foo.
  2. 2nd drop-down would appear while selecting a value of 1st dro-pdown Foo2; if I select value foo3, drop-down would be disappear. Even values would also disappear in the 2nd drop-down.
  3. give solution.
Tags (4)
0 Karma

kkarthik2
New Member

Anyone having Jscript for disappering a dropdown while selecting a value from another dropdown.

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

4.profit

This can only be achieved using custom Javascript. You will have to create the HTML Dashboard or a specific javascript to include in the Simple XML view that checks the value of the first dropdown, and then adjust the second drop down based on that condition.

This is a good place to get started: http://dev.splunk.com/view/webframework-htmldashboards/SP-CAAAEM2

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...