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!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...