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!

Splunk App for Anomaly Detection End of Life Announcment

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...

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 ...