Dashboards & Visualizations

Can I reload the values of a form input?

a212830
Champion

Hi,

I have a form with a drop-down select which passes values (index) to a multi-select form (sourcetype). What I've noticed is that if I've chosen some sourcetypes, and then decide to change the index, the sourcetypes remain in the multi-select input, and I have to delete them manually. Is there a way to reload the sourcetype input after the index selection changes?

Hope this makes sense...

0 Karma

DalJeanis
SplunkTrust
SplunkTrust

You have to set it up in a hierarchical manner so that your cascading parameters will operate as expected.

@Somesoni2 posted some sample code here a couple of years back -
https://answers.splunk.com/answers/112126/auto-population-of-form-drop-down-values-based-on-selected...

0 Karma

a212830
Champion

Thanks. When I saw "cascading", I recalled something similar in the Splunk Dashboard examples app, and that appears to do what I want. However, looking at the example, the description mentions using "populatingSearch", but the example doesn't actually use populatingSearch, so I'm not sure where to put it.

Anyone?

0 Karma

sloshburch
Splunk Employee
Splunk Employee

Would you edit or comment on your original post and include the simple xml you're using?

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...