Archive

Display/Hide Panel based on Radio button and Dropdown input

ravichandra49
New Member

I have two Inputs, One is dropdown which specifies the type of File Incoming or Outgoing and another is Radio button which has three levels of SLA like Met, Warn, Breach. I want to display panel based on file type that can be selected using dropdown and level of SLA. How to check the values set by both tokens Change condition.

Tags (1)
0 Karma

493669
Super Champion

@ravichandra49 Refer below link It will guide you to hide/display panel based on input value-
https://splunkonbigdata.com/2019/01/10/how-to-hide-and-display-panels-using-dropdown-option-in-splun...

0 Karma

ravichandra49
New Member

@493669 I need to display panel based on combination of two Inputs value, one from drop down and one from radio buton, the link you gave is for one input. Something like below, but its not working

<change>
<condition match=$slatoken$==MET and $filetypetoken$==INCOMING>
<set token="MET">true</set>
<set token="INCOMING">true</set>
<unset token="WARN"></unset>
<unset token="BREACH"></unset>
<unset token="OUTGOING"></unset>
</condition>
</change>
0 Karma
Take the 2021 Splunk Career Survey

Help us learn about how Splunk has
impacted your career by taking the 2021 Splunk Career Survey.

Earn $50 in Amazon cash!