Splunk Enterprise

Custom search command avoid chunked results

Unige2021
Loves-to-Learn

I have a processing Custom Search Command which needs to filter some results.

I need to pass to this command all the events from the previous pipeline, however I get only chunked events of 50 at a time.

This is the Commands.conf configuration:

[command]
python.version = python3
filename = command.py
chunked = true

The query I'd like to use is: 

index="main" | command

With chunked = true of course I get chunked results, however if I set it to false I get the following error:

External search command 'detectshipspoofing' returned error code 1. Script output = "error_message=RuntimeError at "/opt/splunk/etc/apps/detect_attacks/bin/splunklib/searchcommands/search_command.py", line 619 : Command detectshipspoofing appears to be statically configured for search command protocol version 1 and static configuration is unsupported by splunklib.searchcommands. Please ensure that default/commands.conf contains this stanza: [detectshipspoofing] filename = detect_ship_spoofing.py enableheader = true outputheader = true requires_srinfo = true supports_getinfo = true supports_multivalues = true supports_rawargs = true ". 

How can I avoid this?

Thank you in advace!

Labels (1)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...