Hi all I've enabled the python 3.7 Support on my installation, but now my external command won't work anymore, saying i have some syntax error, which i'm not able to find in the binary tree of my co...
See more...
Hi all I've enabled the python 3.7 Support on my installation, but now my external command won't work anymore, saying i have some syntax error, which i'm not able to find in the binary tree of my command app... And the command works with python 2.7... The message is: ValueError: Unknown level: 'ERROR ; Default: WARNING' The full log is: 07-17-2020 10:12:48.713 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/elasticsplunk/bin/elasticsplunk.py __GETINFO__ eaddr=cluster1 index=testdrive query="state:IL or state=TN and age>22"': Traceback (most recent call last): File "/opt/splunk/etc/apps/elasticsplunk/bin/elasticsplunk.py", line 49, in <module> from splunklib.searchcommands import dispatch, StreamingCommand, GeneratingCommand, Configuration, Option, validators File "/opt/splunk/etc/apps/elasticsplunk/bin/splunklib/searchcommands/__init__.py", line 145, in <module> from .environment import * File "/opt/splunk/etc/apps/elasticsplunk/bin/splunklib/searchcommands/environment.py", line 120, in <module> splunklib_logger, logging_configuration = configure_logging('splunklib') File "/opt/splunk/etc/apps/elasticsplunk/bin/splunklib/searchcommands/environment.py", line 103, in configure_logging fileConfig(filename, {'SPLUNK_HOME': splunk_home}) File "/opt/splunk/lib/python3.7/logging/config.py", line 80, in fileConfig _install_loggers(cp, handlers, disable_existing_loggers) File "/opt/splunk/lib/python3.7/logging/config.py", line 195, in _install_loggers log.setLevel(level) File "/opt/splunk/lib/python3.7/logging/__init__.py", line 1353, in setLevel self.level = _checkLevel(level) File "/opt/splunk/lib/python3.7/logging/__init__.py", line 192, in _checkLevel raise ValueError("Unknown level: %r" % level) ValueError: Unknown level: 'ERROR ; Default: WARNING' 07-17-2020 10:12:48.725 ERROR script - Getinfo probe failed for external search command 'ess'.