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!

Leveraging Detections from the Splunk Threat Research Team & Cisco Talos

  Now On Demand  Stay ahead of today’s evolving threats with the combined power of the Splunk Threat Research ...

New in Splunk Observability Cloud: Automated Archiving for Unused Metrics

Automated Archival is a new capability within Metrics Management; which is a robust usage & cost optimization ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...