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!

Leveraging Detections from the Splunk Threat Research Team & Cisco Talos

  Now On Demand  Stay ahead of today’s evolving threats with the combined power of the Splunk Threat Research ...

New in Splunk Observability Cloud: Automated Archiving for Unused Metrics

Automated Archival is a new capability within Metrics Management; which is a robust usage & cost optimization ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...