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!

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...