Hello! I'm trying to install Rest API Modular Input application from the file rest-api-modular-input_15.tgz but having the following exception in splunkd.log:
06-01-2018 09:08:46.795 +0300 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/rest_ta/bin/rest.py" Exception in thread Thread-1:
06-01-2018 09:08:46.795 +0300 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/rest_ta/bin/rest.py" Traceback (most recent call last):
06-01-2018 09:08:46.795 +0300 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/rest_ta/bin/rest.py" File "/opt/splunk/lib/python2.7/threading.py", line 801, in __bootstrap_inner
06-01-2018 09:08:46.795 +0300 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/rest_ta/bin/rest.py" self.run()
06-01-2018 09:08:46.795 +0300 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/rest_ta/bin/rest.py" File "/opt/splunk/lib/python2.7/threading.py", line 754, in run
06-01-2018 09:08:46.795 +0300 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/rest_ta/bin/rest.py" self.__target(*self.__args, **self.__kwargs)
06-01-2018 09:08:46.795 +0300 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/rest_ta/bin/rest.py" File "/opt/splunk/etc/apps/rest_ta/bin/rest.py", line 433, in do_run
06-01-2018 09:08:46.795 +0300 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/rest_ta/bin/rest.py" module = __import__("responsehandlers")
06-01-2018 09:08:46.795 +0300 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/rest_ta/bin/rest.py" File "/u01/splunk/apps/rest_ta/bin/responsehandlers.py", line 159
06-01-2018 09:08:46.795 +0300 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/rest_ta/bin/rest.py" print_xml_stream(raw_response_output)$$
06-01-2018 09:08:46.796 +0300 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/rest_ta/bin/rest.py" ^
06-01-2018 09:08:46.796 +0300 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/rest_ta/bin/rest.py" SyntaxError: invalid syntax
And the application doesn't work. How can I solve a problem?
You should use the latest version , 1.5.1. This resolves the above bug.
You should use the latest version , 1.5.1. This resolves the above bug.