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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...