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!

Why You Can't Miss .conf25: Unleashing the Power of Agentic AI with Splunk & Cisco

The Defining Technology Movement of Our Lifetime The advent of agentic AI is arguably the defining technology ...

Deep Dive into Federated Analytics: Unlocking the Full Power of Your Security Data

In today’s complex digital landscape, security teams face increasing pressure to protect sprawling data across ...

Your summer travels continue with new course releases

Summer in the Northern hemisphere is in full swing, and is often a time to travel and explore. If your summer ...