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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...