Getting Data In

Using Multiple Values for a Single Choice in a DropDown Input

_gkollias
Builder

Hi All,

Is there a way to add multiple values in a drop down to a single choice? For example, I have a drop down with multiple values which really should be under the same status. Here is my example below:

        <label>Select a status:</label>
        <default>*</default>
        <choice value="*">All</choice>
        <choice value="SUCCESS">SUCCESS</choice>
        <choice value="FAILED">FAILURE</choice>
        <choice value="FAIL">FAILURE</choice>
        <choice value="FAILURE">FAILURE</choice>
    </input>

Is there a way to combine the three failures so that they all fall under "FAILURE"?

Thanks in advance!

Tags (2)

tom_frotscher
Builder

Hi!

Is there something like a field "status" and you use this choice as: status=$status$ in your corresponding search? If so, you could put something like this in as value:

 <label>Select a status:</label>
<default>status=*</default>
<choice value="status=*">All</choice>
<choice value="status=SUCCESS">SUCCESS</choice>
<choice value="status=FAILED OR status=FAIL OR status=FAILURE">FAILURE</choice>
</input>

and in your search you do not use status=$status$, instead you just use $status$.

Greetings

Tom

Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...