Dashboards & Visualizations

How to disregard default selection in Checkbox?

paviach
New Member

I have list of nested checkboxes which will display the panels based on the selection. But few panels are displaying without any selection. How do I restrict this behavior? Ultimately, panels should be displayed only when the checkboxes are selected and should hide when unchecked.
FYI,, I have added "depends="$token$" " in the code but it doesnt really work 100%. Please help!

0 Karma

niketn
Legend

@paviach try one of my older answers to similar panels where depends was for Text Boxes based on selection of particular Check Boxes. You have two options of (1) using JS or (2) using an independent search

https://answers.splunk.com/answers/681330/can-i-hideunhide-specific-text-boxes-using-a-singl.html

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

paviach
New Member

Thank you very much. Could you also give me pointers on how to validate the input with nested "multiselects".
Say, a, b and c are the multiselect options. Selecting 'a' should display another multiselect box.
The options in 2nd multiselects are 'aa,bb,cc'. Selecting 'aa' should display a panel. How do I achieve with independent search?

0 Karma
Get Updates on the Splunk Community!

How to Get Started with Splunk Data Management Pipeline Builders (Edge Processor & ...

If you want to gain full control over your growing data volumes, check out Splunk’s Data Management pipeline ...

Out of the Box to Up And Running - Streamlined Observability for Your Cloud ...

  Tech Talk Streamlined Observability for Your Cloud Environment Register    Out of the Box to Up And Running ...

Splunk Smartness with Brandon Sternfield | Episode 3

Hello and welcome to another episode of "Splunk Smartness," the interview series where we explore the power of ...