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!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...