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 | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...