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!

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...

Splunk AppDynamics Agents Webinar Series

Mark your calendars! On June 24th at 12PM PST, we’re going live with the second session of our Splunk ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...