All Apps and Add-ons

Webtools Add-on urlencode : Why is there command failure?

TheFrunkster
Explorer

I am using the Webtools add-on to do some work with a API endpoints.  The curl commands works fantastically.  However, when attempting to use the urlencode command, I keep getting errors.   I get the following error message:
command="urlencode", '<' not supported between instances of 'OrderedDict' and 'OrderedDict'

I have installed the latest version of TA-webtools, 3.0.2.  Splunk version 8.2.7.

Please see the attached image.Screen Shot 2023-01-18 at 4.47.40 PM.png

Any help on resolving this issue would be extremely appreciated.

Thanks.

Regards,

TheFrunkster

Labels (2)
0 Karma

wmuselle
Path Finder

Not using that add-on, but looks to me that:

it is because the custom command is trying to sort the results before returning.

you will notice that it  it will probably work if you only pipe 1 event into the command.

easy way out: remove results.sort() from the custom command

hoping they fix the add-on for you

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

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