I am attempting to use custom generating command protocol version 2, but my command seems to be detected as version 1 still.
commands.conf:
> [datascrape] filename = xxx.py> chunked = true
xxx.py:
> @Configuration(type='events') class> xxxCommand(GeneratingCommand):> ...> def generate(self):> ... yield xxx> ... self.finish()> ...> @staticmethod> def foo():
Even if I replace the commands.conf config with the specified version 1 arguments, I still get the error message, even after splunk restarts.
Thanks for any pointers
↧