Splunk Dev

Does Splunk utilize its own Python installation?

gcdiaz
Engager

Does Splunk utilize its own Python installation or is it pointing to my host computer python2 or python3 installation? If so, how can I change what python interpreter Splunk will use?

0 Karma
1 Solution

pgreer_splunk
Splunk Employee
Splunk Employee

Yep. This is for Splunk 6.4.2:

[splunk@batavus bin]$ pwd
/home/splunk/bin
[splunk@batavus bin]$ ls -ld p*
-r-xr-xr-x 1 splunk splunk   55600 Jun 28 04:13 parsetest
-r-xr-xr-x 1 splunk splunk    3753 Jun 28 02:59 parse_xml_buckets.py
-r-xr-xr-x 1 splunk splunk 3946272 Jun 28 04:13 pcregextest
-r-xr-xr-x 1 splunk splunk    7390 Jun 28 02:59 pid_check.sh
lrwxrwxrwx 1 splunk splunk       9 Jun 28 04:09 python -> python2.7
lrwxrwxrwx 1 splunk splunk       9 Jun 28 04:09 python2 -> python2.7
-r-xr-xr-x 1 splunk splunk 1953328 Jun 28 04:13 python2.7

View solution in original post

pgreer_splunk
Splunk Employee
Splunk Employee

Yep. This is for Splunk 6.4.2:

[splunk@batavus bin]$ pwd
/home/splunk/bin
[splunk@batavus bin]$ ls -ld p*
-r-xr-xr-x 1 splunk splunk   55600 Jun 28 04:13 parsetest
-r-xr-xr-x 1 splunk splunk    3753 Jun 28 02:59 parse_xml_buckets.py
-r-xr-xr-x 1 splunk splunk 3946272 Jun 28 04:13 pcregextest
-r-xr-xr-x 1 splunk splunk    7390 Jun 28 02:59 pid_check.sh
lrwxrwxrwx 1 splunk splunk       9 Jun 28 04:09 python -> python2.7
lrwxrwxrwx 1 splunk splunk       9 Jun 28 04:09 python2 -> python2.7
-r-xr-xr-x 1 splunk splunk 1953328 Jun 28 04:13 python2.7
Get Updates on the Splunk Community!

Get Operational Insights Quickly with Natural Language on the Splunk Platform

In today’s fast-paced digital world, turning data into actionable insights is essential for success. With ...

Stay Connected: Your Guide to August Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...

Unleash the Power of Splunk MCP and AI, Meet Us at .Conf 2025, and Find Even More New ...

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