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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...