All Apps and Add-ons

Why am I getting an exception during installation\deployment in the Rest API Modular Input?

kvaga
Explorer

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?

0 Karma
1 Solution

Damien_Dallimor
Ultra Champion

You should use the latest version , 1.5.1. This resolves the above bug.

View solution in original post

0 Karma

Damien_Dallimor
Ultra Champion

You should use the latest version , 1.5.1. This resolves the above bug.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...