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!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...