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!

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