All Apps and Add-ons

Set REST API URL using an input parameter

changux
Builder

Hi all.

I want to prepare a TA that allow users to set HOST API URL. I tried with an Input parameter and doesn't work. How can I set this? Thanks!

alt text

0 Karma
1 Solution

jconger
Splunk Employee
Splunk Employee

Use curly braces around your variable name. For example:

http://${api_url}/info/

I tried this with a generic JSON REST endpoint and it worked.alt text

View solution in original post

0 Karma

jconger
Splunk Employee
Splunk Employee

Use curly braces around your variable name. For example:

http://${api_url}/info/

I tried this with a generic JSON REST endpoint and it worked.alt text

0 Karma

changux
Builder

Anybody? Please help!

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