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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...