All Apps and Add-ons

Tell setup wizard to use python2.7 on Splunk 8.1.1 ?

stwong
Communicator

Hi all,

We upgraded from Splunk 7.3.5 to 8.1.1.     Most of the app/add-on works except one obsoleted one that supports Python2.7 only.   Got error during setup:

 

01-05-2021 14:26:55.771 +0800 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python3.7 /opt/splunk/bin/runScript.py setup':  The script at path=/opt/splunk/etc/apps/TA-ms-loganalytics/bin/TA_ms_loganalytics_rh_log_analytics.py has thrown an exception=Traceback (most recent call last):
01-05-2021 14:26:55.771 +0800 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python3.7 /opt/splunk/bin/runScript.py setup':    File "/opt/splunk/etc/apps/TA-ms-loganalytics/bin/ta_ms_loganalytics/splunktaucclib/rest_handler/endpoint/validator.py", line 389

 

 

As Splunk 8 includes Python 2.7 runtime and binary, possible to tell Splunk to use Python2.7 when handling this app ?

 

Thanks a lot.

Regards

/ST Wong

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Dashboard Studio Challenge - Learn New Tricks, Showcase Your Skills, and Win Prizes!

Reimagine what you can do with your dashboards. Dashboard Studio is Splunk’s newest dashboard builder to ...

Introducing Edge Processor: Next Gen Data Transformation

We get it - not only can it take a lot of time, money and resources to get data into Splunk, but it also takes ...

Take the 2021 Splunk Career Survey for $50 in Amazon Cash

Help us learn about how Splunk has impacted your career by taking the 2021 Splunk Career Survey. Last year’s ...