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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...