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!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...