Dashboards & Visualizations

How can I select more than 1 item from my dropdown list?

HattrickNZ
Motivator

Here is my dropdown list (renamed the counters for illustration here)

<input type="dropdown" token="counter">
        <label>Select Counter:</label>
        <default>Counter1</default>
        <choice value='sum(Counter1) as "Counter1"'>Counter1</choice>
        ...
        <choice value='sum(Counter1) as "CounterN"'>CounterN</choice>
</input>        

And this is what it looks like: (It allows me to search the counters)

alt text

But it only allows me to select 1 counter from the drop down.

How can I select more than 1 counter in the dropdown menu?

Tags (2)
0 Karma
1 Solution

masonmorales
Influencer

A dropdown only allows for one input. You'll want to convert to a multi-select input instead.

 <input type="multiselect" token="counter">
         <label>Select Counter:</label>
         <default>Counter1</default>
         <choice value='sum(Counter1) as "Counter1"'>Counter1</choice>
         ...
         <choice value='sum(Counter1) as "CounterN"'>CounterN</choice>
         <delimiter> </delimiter>
 </input>    

View solution in original post

masonmorales
Influencer

A dropdown only allows for one input. You'll want to convert to a multi-select input instead.

 <input type="multiselect" token="counter">
         <label>Select Counter:</label>
         <default>Counter1</default>
         <choice value='sum(Counter1) as "Counter1"'>Counter1</choice>
         ...
         <choice value='sum(Counter1) as "CounterN"'>CounterN</choice>
         <delimiter> </delimiter>
 </input>    
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...