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!

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Get Inspired! We’ve Got Validation that Your Hard Work is Paying Off

We love our Splunk Community and want you to feel inspired by all your hard work! Eric Fusilero, our VP of ...

What's New in Splunk Enterprise 9.4: Features to Power Your Digital Resilience

Hey Splunky People! We are excited to share the latest updates in Splunk Enterprise 9.4. In this release we ...