Getting Data In

Using Multiple Values for a Single Choice in a DropDown Input

_gkollias
SplunkTrust
SplunkTrust

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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...