dmuth / splunk-lab

Learn Splunk by creating a lab instance in seconds. Includes Eventgen and Splunk's Machine Learning app!
https://www.dmuth.org/introducing-splunk-lab/
Apache License 2.0
92 stars 16 forks source link

Sort out Rest API Modular Input error #5

Closed dmuth closed 3 years ago

dmuth commented 3 years ago

With the upgrade to Splunk 8.1.0.1, I get this error:

image

Looking in the logs, I see this:

11-22-2020 21:12:11.792 +0000 ERROR ModularInputs - <stderr> Introspecting scheme=rest:    File "/opt/splunk/etc/apps/rest_ta/bin/rest.py", line 298
11-22-2020 21:12:11.792 +0000 ERROR ModularInputs - <stderr> Introspecting scheme=rest:      except Exception, e:
11-22-2020 21:12:11.792 +0000 ERROR ModularInputs - <stderr> Introspecting scheme=rest:                      ^
11-22-2020 21:12:11.792 +0000 ERROR ModularInputs - <stderr> Introspecting scheme=rest:  SyntaxError: invalid syntax
11-22-2020 21:12:11.792 +0000 ERROR ModularInputs - Introspecting scheme=rest: script running failed (exited with code 1).
11-22-2020 21:12:11.842 +0000 ERROR ModularInputs - Unable to initialize modular input "rest" defined in the app "rest_ta": Introspecting scheme=rest: script running failed (exited with code 1)..

This occurs with the latest version (1.9.8) that I got from https://splunkbase.splunk.com/app/1546/.

I will reach out to the developer.

dmuth commented 3 years ago

Email was sent to support@baboonbones.com.