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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...