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!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...