All Apps and Add-ons

REST API Modular Input - Token not updating

Path Finder


I created a new token in the file, however it is not updating as expected.

I found this posting - - which the author stated, "Token substitution only happens once , before the initial request.".

There are two solution presented:

1) Use a custom Response Handler to set the parameters for the next request
2) Modify the file (endpoint_list = replaceTokens(original_endpoint)) so that the tokens are always updated before a REST API call.

Solution two makes more sense to me (expected behavior), but I wanted to get the author/community opinion on this.

Thank you.

0 Karma
Get Updates on the Splunk Community!

Maximize the Value from Microsoft Defender with Splunk

<P style=" text-align: center; "><span class="lia-inline-image-display-wrapper lia-image-align-center" ...

This Week's Community Digest - Splunk Community Happenings [6.27.22]

<FONT size="5"><FONT size="5" color="#FF00FF">Get the latest news and updates from the Splunk Community ...