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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...