Splunk Search

How to assign multiple values to the same checkbox

NS
Explorer

Hey Splunkers,

Currently, I have 3 checkboxes to filter data for the panel.

eg: My checkbox names are : Critical, Major and Minor

NameValue
CriticalSev 1
MajorSev 2
MinorSev 3

Based on the severity, the panel searches for all the respective tickets.

I want to add 2 values in the checkbox, is there a way i can add two values to one checkbox?

NameValue1Value2
CriticalSev 1 
MajorSev 2Sev 3
MinorSev 4Sev 5

 

Or an alternative way to implement this please?

Thanks in advance.

0 Karma

renjith_nair
Legend

Are you looking for something similar to

<form>
  <label>Check Boxes</label>
  <fieldset submitButton="false">
    <input type="checkbox" token="critical">
      <label>Critical</label>
      <choice value="Sev 1">Sev 1</choice>
    </input>
    <input type="checkbox" token="Major">
      <label>Major</label>
      <choice value="Sev2">Sev2</choice>
      <choice value="Sev3">Sev3</choice>
      <delimiter> OR </delimiter>
    </input>
    <input type="checkbox" token="minor">
      <label>Minor</label>
      <choice value="Sev4">Sev4</choice>
      <choice value="Sev5">Sev5</choice>
      <delimiter> OR </delimiter>
    </input>
  </fieldset>
</form>

you need to adjust the delimiter and prefix & suffix part according to your requirement in search.

Otherwise, please share your dashboard snippet and state what you are trying to achieve.

Thanks

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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