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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...