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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...