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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...