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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...