Dashboards & Visualizations

Dashboard Studio: How do I make a Dynamic loading a dropdown list?

Edward1234
Engager

In the classic dashboard it's very easy to setup a dynamic loading dropdown list. In the new dashboard studio I don't see it anywhere. How do I make a dynamic loading dropdown list?

Labels (2)

scottc_3
New Member

This is exactly my experience in Splunk Cloud as well.  I fed table data to a dropdown, and dropdown uses an array of the entire result set, instead of listing the values separately.  Can we get a fix for this?

0 Karma

elizabethl_splu
Splunk Employee
Splunk Employee

Hi @scottc_3, I would love to learn more about the requirement to use an array. Can you share more about why it's not feasible to separate the values in your use case? 

0 Karma

elizabethl_splu
Splunk Employee
Splunk Employee

Yes! Today you can enable that in source code, and you can see examples in the docs https://docs.splunk.com/Documentation/SplunkCloud/latest/DashStudio/inputs and in the Examples Hub > Interactivity 

In the next Cloud release, there will be UI to add data sources to the input to make it dynamic. 

0 Karma

rxvichi
Loves-to-Learn Everything

I am trying to use a datasource to load the data for the dropdown. Even though the query does return data the dropdown does not load the data.

0 Karma

elizabethl_splu
Splunk Employee
Splunk Employee

Hi @rxvichi, after adding a data source to the dropdown, are you also selecting the fields which should populate the dropdown via the UI? You can see a gif of what I'm talking about here https://www.splunk.com/en_us/blog/platform/dashboard-studio-tips-what-s-new-in-8-2-2106.html

0 Karma

rxvichi
Loves-to-Learn Everything

yes I am but in my case the data source is a table with one column with several rows. And when I select the menu label and value it is showing as an array instead of string as it is displayed in the gif.

rxvichi_0-1682699784006.png

 

0 Karma

elizabethl_splu
Splunk Employee
Splunk Employee

Hey @rxvichi - hm, that's interesting. Would you mind sending an email to dashboard-studio@splunk. com with an example of your search results? I'm interested to see the data structure of the results such that it's displaying as an array.

0 Karma

rxvichi
Loves-to-Learn Everything

I have send the email please look into it.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...