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!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...