Dashboards & Visualizations

How do I pass token to a dashboard in a default inputc checkbox?

gcusello
SplunkTrust
SplunkTrust

Hi at all,
I have a main dashboard that calls a secondary dashboard where there is a checkbox input.
I'm trying to pass the default value to the checkbox. It correctly runs if I have only one default value, instead it doesn't run if I have more values, it seems like the problem is the coma.

This is my code:
main dashboard drilldown:

<drilldown>
          <link target="_blank">/app/my_app/home_page_overview_servers?TimeFrom=$Time.earliest$&amp;TimeTo=$Time.latest$&amp;Status=low,severe&amp;System_Type=Server Windows</link>
        </drilldown>

Secondary dashboard input checkbox:

<input type="checkbox" token="Status">
  <label>Status</label>
  <choice value="low">Present</choice>
  <choice value="severe">Missing</choice>
  <choice value="medium">Out of Perimeter</choice>
  <default>$Status$</default>
  <prefix>(</prefix>
  <suffix>)</suffix>
  <valuePrefix>Status=</valuePrefix>
  <delimiter> OR </delimiter>
</input>

Anyone encountered a similar problem?

Bye.
Giuseppe

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

HI @cusello,

Have you tried to pass Status like below in drill-down URL?

form.Status=low&form.Status=severe


<drilldown>
           <link target="_blank">/app/my_app/home_page_overview_servers?TimeFrom=$Time.earliest$&amp;TimeTo=$Time.latest$&amp;form.Status=low&amp;form.Status=severe&amp;System_Type=Server Windows</link>
         </drilldown>
0 Karma
Get Updates on the Splunk Community!

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...