Dashboards & Visualizations

Option in Checkbox is ticked by default but panel in dashboard is still hidden whenever dashboard open

jmmontejo
Explorer

I have a dashboard that show/hide panel whenever option/s in checkbox is ticked, which is already working. My problem is whenever I select the option as default value, the panel is still hidden whenever I open the dashboard. Any idea on this? or am I missing something

 

Heres some part of my xml.

<input type="checkbox" token="check">
<label>Category Type</label>
<choice value="db_gc_wait">DB GC Waits</choice>
<choice value="concurrent_manager">Concurrent Managers</choice>
<choice value="blocking_session">Blocking Session</choice>
<choice value="longrunning_job">Long Running Jobs</choice>
<choice value="crm_top_request">CRM Top Requests</choice>
<choice value="workflow_mailer">Workflow Mailer</choice>
<change>
<condition match="$check$ = &quot;db_gc_wait&quot;">
<set token="show_db_gc_wait">1</set>
<unset token="show_concurrent_manager"></unset>
<unset token="show_blocking_session"></unset>
<unset token="show_longrunning_job"></unset>
<unset token="show_crm_top_request"></unset>
<unset token="show_workflow_mailer"></unset>
</condition>
...

<condition match="$check$ = &quot;db_gc_wait concurrent_manager blocking_session longrunning_job crm_top_request workflow_mailer&quot;">
<set token="show_db_gc_wait">1</set>
<set token="show_concurrent_manager">1</set>
<set token="show_blocking_session">1</set>
<set token="show_longrunning_job">1</set>
<set token="show_crm_top_request">1</set>
<set token="show_workflow_mailer">1</set>
</condition>
<!-- Unset all tokens -->
<condition>
<unset token="show_db_gc_wait"></unset>
<unset token="show_concurrent_manager"></unset>
<unset token="show_blocking_session"></unset>
<unset token="show_longrunning_job"></unset>
<unset token="show_crm_top_request"></unset>
<unset token="show_workflow_mailer"></unset>
</condition>
</change>

...

<row>
<panel depends="$show_db_gc_wait$">
<table>
<title>Database GC Waits</title>
<search>
<query> MY QUERY</query>
<earliest>$time_tok.earliest$</earliest>
<latest>$time_tok.latest$</latest>
</search>
<option name="drilldown">cell</option>
</table>
</panel>
</row>

Labels (4)
0 Karma

meetmshah
Builder

Hello @jmmontejo, I am unable to run the Dashboard in Splunk. Can you please paste the full XML?

0 Karma
Get Updates on the Splunk Community!

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...