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!

Bridging the Gap: Splunk Helps Students Move from Classroom to Career

The Splunk Community is a powerful network of users, educators, and organizations working together to tackle ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureThursday, March 27, 2025  |  11AM PST / 2PM EST | Register NowStep boldly ...