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 (2)
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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...