I was able to get this to work by changing the decorator to:
@Configuration(type='events')
And also modifying our local copy of the Splunk Python SDK to allow ‘events’ as a valid option:
diff --git a/splunklib/searchcommands/internals.py b/splunklib/searchcommands/internals.py
index be57703..23989ad 100644
--- a/splunklib/searchcommands/internals.py
+++ b/splunklib/searchcommands/internals.py
@@ -326,7 +326,7 @@ class ConfigurationSettingsType(type):
supporting_protocols=[1, 2]),
'type': specification(
type=(bytes, unicode),
- constraint=lambda value: value in ('eventing', 'reporting', 'streaming'),
+ constraint=lambda value: value in ('eventing', 'reporting', 'streaming', 'events'),
supporting_protocols=[2])}
... View more