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
Legend

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!

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 ...