diff --git a/splunklib/searchcommands/eventing_command.py b/splunklib/searchcommands/eventing_command.py index 27dc13a3..4f371823 100644 --- a/splunklib/searchcommands/eventing_command.py +++ b/splunklib/searchcommands/eventing_command.py @@ -123,6 +123,15 @@ class ConfigurationSettings(SearchCommand.ConfigurationSettings): ''') + partition_fields = ConfigurationSetting(readonly=True, value=[], doc=''' + Hash keys for parallel reduce + + Default: []. + + Supported by: SCP 2 + + ''') + # endregion # region Methods diff --git a/splunklib/searchcommands/internals.py b/splunklib/searchcommands/internals.py index 1ea2833d..4582dcb7 100644 --- a/splunklib/searchcommands/internals.py +++ b/splunklib/searchcommands/internals.py @@ -347,6 +347,10 @@ def validate_configuration_setting(specification, name, value): 'type': specification( type=(bytes, six.text_type), constraint=lambda value: value in ('events', 'reporting', 'streaming'), + supporting_protocols=[2]), + 'partition_fields': specification( + type=(list, set, tuple), + constraint=None, supporting_protocols=[2])} diff --git a/splunklib/searchcommands/reporting_command.py b/splunklib/searchcommands/reporting_command.py index 94708619..2d882dad 100644 --- a/splunklib/searchcommands/reporting_command.py +++ b/splunklib/searchcommands/reporting_command.py @@ -222,6 +222,15 @@ class ConfigurationSettings(SearchCommand.ConfigurationSettings): Supported by: SCP 2 ''') + + partition_fields = ConfigurationSetting(readonly=False, value=[], doc=''' + Hash keys for parallel reduce + + Default: []. + + Supported by: SCP 2 + + ''') # endregion