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!

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

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Get More Out of Your Security Practice With a SIEM

Get More Out of Your Security Practice With a SIEMWednesday, July 31, 2024  |  11AM PT / 2PM ETREGISTER ...