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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...