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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...