Dashboards & Visualizations

How do you hide panel based on certain fields from a dropdown

UMDTERPS
Communicator

So I have been using the following SPL to hide panels based on a token from a dropdown:

<panel depends="$operating_system$">


However,  I want a few panels to only appear when "ALL" is selected, not when a individual Operating System is selected.  Is that possible using the "Depends" command?  If not, how?

Thanks!


Labels (1)
Tags (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

The change handler for the dropdown could interrogate the value selected and set/unset a token appropriately which the panel then depends on.

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...