Splunk Dev

Splunk 8 upgrade python version

arun_kant_sharm
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

richgalloway
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 $SPLUNK_HOME/etc/system/local. See https://docs.splunk.com/Documentation/Splunk/8.0.1/Python3Migration/ChangesEnterprise#Python_interpr... for details.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...