Dashboards & Visualizations

Splunk 7.1.1 checkbox checks on click of text

architkhanna
Path Finder

I have a show/hide checkbox in my dashboard on check of which the few filters are shown/hidden.
After splunk upgrade,on click of text "show/hide",the checkbox is checked but functionality doesn't happen.Hence,it creates an issue for user.
Any help to make sure on click of text the tick doesn't come and only comes when small box is checked
TIA.

0 Karma

sdchakraborty
Contributor

Hi Archit,

Looks like splunk is not stting up token value when we are clicking on the checkbox text( this feature used to work in splunk 6). To fix this you can set a token when you click checkbox text by checking the checkbox check condition. Then use that token to show/hide other filters.

  <input type="checkbox" id="checkboxFilters" token="filter_show" searchWhenChanged="false" >
      <label>Filters</label>
      <choice value="show">Show / Hide</choice>
      <change>
        <condition value="show">
          <set token="filter_show2"></set>
        </condition>
        <condition>
          <unset token="filter_show2"></unset>
        </condition>
      </change>
    </input>
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...