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!

Pro Tips for First-Time .conf Attendees: Advice from SplunkTrust

Heading to your first .Conf? You’re in for an unforgettable ride — learning, networking, swag collecting, ...

Raise Your Skills at the .conf25 Builder Bar: Your Splunk Developer Destination

Calling all Splunk developers, custom SPL builders, dashboarders, and Splunkbase app creators – the Builder ...

Hunt Smarter, Not Harder: Discover New SPL “Recipes” in Our Threat Hunting Webinar

Are you ready to take your threat hunting skills to the next level? As Splunk community members, you know the ...