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!

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Cultivate Your Career Growth with Fresh Splunk Training

Growth doesn’t just happen—it’s nurtured. Like tending a garden, developing your Splunk skills takes the right ...

Introducing a Smarter Way to Discover Apps on Splunkbase

We’re excited to announce the launch of a foundational enhancement to Splunkbase: App Tiering.  Because we’ve ...