Developing for Splunk Enterprise
Highlighted

Splunk 8 upgrade python version

Path Finder

Hi Experts,

I need to install "Splunk Enterprise Security" and "Splunk ITSI" apps.
For this Python 3 is require ???

Mu current splunk version is Splunk 8.0.1 (build 6db836e2fb9e),
but python version is :
$SPLUNK_HOME/bin/splunk cmd python --version
Python 2.7.16

Please guide me how I upgrade splunk python version.

Labels (1)
Tags (2)
0 Karma
Highlighted

Re: Splunk 8 upgrade python version

SplunkTrust
SplunkTrust

Splunk 8 ships with both Python 2 and Python 3 so there's nothing to install or upgrade. Python 2 is the default, which is why you see that version reported. To change the default, set python.version = python3 in $SPLUNKHOME/etc/system/local. See https://docs.splunk.com/Documentation/Splunk/8.0.1/Python3Migration/ChangesEnterprise#Pythoninterpreter_settings for details.

---
If this reply helps you, an upvote would be appreciated.