All Apps and Add-ons

Splunk add-on builder - how to pass value from one component to another component?

dkwa01
Engager

Is it possible to pass a value within a component to another component in the data input parameters? I have a drop down list with an internal value '/accounts/userid/${id_acc}' and a text box to populate that ${id_acc} value. However it doesn't seem to work when I run a REST API test. The ${id_acc} in the drop down list is just showing up as '/accounts/userid/${id_acc}' and not replaced with whatever I type in the text box.

Thanks in advance for your help.

alt text

0 Karma

chli_splunk
Splunk Employee
Splunk Employee

Sorry AoB doesnt have this feature currently. Tokens only work in REST input page.

0 Karma
Get Updates on the Splunk Community!

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

Cisco Use Cases, ITSI Best Practices, and More New Articles from Splunk Lantern

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

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...