Splunk Dev

REST API Modular Input: After creating a custom search command as a Python script, why am I getting the following "parse transport header" error message?

kiril123
Path Finder

Hello,

I have created a custom search command in Splunk as a Python script. When I run the command in Splunk SPL, I get the following error message:

ERROR ChunkedExternProcessor - Failed attempting to parse transport header

Does anyone has any suggestions?

This is the output of commands.conf:

[sankey]
chunked = true
enableheader = false
filename = system_python.path
command.arg.1 = sankey.py

jpass
Contributor

Did you ever figure this out? I'm having the same problem.

Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

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 ...