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!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...