Splunk Dev

splunk-sdk streaming command RuntimeError 'statically configured'

ufotech
Explorer

Hi

By just adding command.arg.1 = '...' in commands.conf I get the following error:

"Command test 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:.... "

The stanza is in place with all the mentioned arguments.

This question apparently was asked several times - with no answer so far.

What is the problem?

All I want is to pass some arguments to a streaming-command.

 

Thanks

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...