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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

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

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

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