Here’s an annoying one when building a custom splunk search command using the python SDK:
"Error in 'script': Getinfo probe failed for external search command 'testscript'"
This mean you have:
"supports_getinfo = true"
set in commands.conf for that particular command- failed to set a docstring for one of the splunk elements within the command.
- Check your instances of Option and set doc=""
- Set a docstring for the class itself, but you already did that anyhow, didn’t you? 🙂
Another issue that may occur is this one:
AttributeError: The value of configuration setting streaming is managed
This means you’ve tried to set streaming=true
in the @Configuration of the class. Put it in commands.conf
and you’ll be fine.