Splunk Search

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

kkarthik2
Observer

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
Observer

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 Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...