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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...