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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...