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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...