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!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...