Dashboards & Visualizations

How to configure a dashboard to automatically deselect specific checkboxes if one is already selected?

sahil237888
Path Finder

Hi All,

Is there a way to configure a Splunk dashboard to automatically deselect specific checkboxes if one is already selected?

For example, let's say I have 4 checkboxes in my dashboard (checkbox1, checkbox2, checkbox3, checkbox4).
I want to create a rule like this: "When checkbox1 is selected, always deselect checkbox2 and checkbox4."

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

That behavior sounds like Radio buttons.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

That behavior sounds like Radio buttons.

---
If this reply helps you, Karma would be appreciated.
0 Karma

sahil237888
Path Finder

not sure how to do this via radio button as all again radio buttons are getting selected at a time.
Any help in code (like unselecting others) will be appreciated.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

This code produces a set of three radio buttons where only one can be selected at a time.

<input type="radio" token="field1">
  <label>Testing</label>
  <choice value="1">Test</choice>
  <choice value="2">Test2</choice>
  <choice value="3">Test3</choice>
</input>
---
If this reply helps you, Karma would be appreciated.
0 Karma

sahil237888
Path Finder

Thanks Rich. it worked.

0 Karma
Get Updates on the Splunk Community!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...