Splunk Enterprise

Why does Panel display depends on token value in Splunk Dashboard Studio?

ZubairBMW
Engager

Hi 

Has anyone manage to replicate the depends functionality for showing/hiding a panel from the classic XML to the new Splunk Dashboarding studio

My goal:

My goal is to click on a single value visualization on dashboard studio and set a token with the click which will then make another panel appear below it. This will then change if i click on another single value, changing the token value and displaying a different visualization below

 

this is the functionality im speaking about:

The click on the single view should set the token  $tokenfordisplay$

Then on the view that should appear and disappear

  <panel depends="$tokenfordisplay$">

Thanks for any help 

Labels (1)
Tags (2)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

You could try the "hideWhenNoData" option, but you may have to modify your search to wipe out any events if you need to hide the panel.

https://www.splunk.com/en_us/blog/tips-and-tricks/dashboard-studio-show-or-hide-the-latest-features-... 

View solution in original post

MERBAG
Explorer

Did you manage to find a solution to this?

I am currently working on converting our classic XML Dashboards to Dashboard Studio. but we do use the "depends" feature a lot - so this is kinda required for us.

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You could try the "hideWhenNoData" option, but you may have to modify your search to wipe out any events if you need to hide the panel.

https://www.splunk.com/en_us/blog/tips-and-tricks/dashboard-studio-show-or-hide-the-latest-features-... 

thambisetty
SplunkTrust
SplunkTrust

That's only available in Splunk Cloud. 

————————————
If this helps, give a like below.
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Not true - I have it in my local Enterprise 9.1 version of Studio

ITWhisperer_0-1692696327377.png

 

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...