All Apps and Add-ons

Is it possible to use a variable parameter in the REST API Modular Input add-on?

vuffray
New Member

Is it possible to use a variable parameter in the REST API Modular Input add-on?
I've seen it's possible for the URL to get a variable token, but is it possible for a parameter?

0 Karma
1 Solution

Damien_Dallimor
Ultra Champion

Damien_Dallimor
Ultra Champion

See my final answer in this thread

vuffray
New Member

thx, got it to work, I tried it before but missed that:

07-20-2015 23:52:09.680 +0200 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/rest_ta/bin/rest.py" Looks like an error substituting tokens: coercing to Unicode: need string or buffer, int found

A simple str() did the trick.

0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...