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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...