Splunk Dev

There's no python in splunkforwarder?

the_wolverine
Champion
[splunk@server splunkforwarder]$ ls
bin  etc  ftr  lib  license-eula.txt  openssl  README-splunk.txt  share  splunkforwarder-4.3-115073-Linux-x86_64-manifest

[splunk@server splunkforwarder]$ cd etc/apps
[splunk@server apps]$ ls
learned  search  SplunkUniversalForwarder

[splunk@server etc]$ cd ../bin
[splunk@server bin]$ ./splunk cmd python
couldn't run "/home/splunk/splunkforwarder/bin/python": No such file or directory
1 Solution

pwattssplunk
Splunk Employee
Splunk Employee

http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Introducingtheuniversalforwarder

Unlike full Splunk, the universal forwarder does not include a bundled version of Python.

View solution in original post

the_wolverine
Champion

OK, so just to recap:

universalforwarder (splunkforwarder) does not include python.

Splunk (full version) with LWF or HF enabled does include python.

0 Karma

the_wolverine
Champion

Ayn, I removed some lines to cover my internal information but just trust that part of it is working correctly.

0 Karma

Ayn
Legend

How did you end up in /home/splunk/splunkforwarder/bin by doing cd .. from etc/apps? 😉

0 Karma

pwattssplunk
Splunk Employee
Splunk Employee

http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Introducingtheuniversalforwarder

Unlike full Splunk, the universal forwarder does not include a bundled version of Python.

dwaddle
SplunkTrust
SplunkTrust

Nope. This was a design decision for the 'universal forwarder' to not include python.

yannK
Splunk Employee
Splunk Employee

LWF HF and indexer do include python.
Not the UF.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Optimize AI at Scale: Must-Attend Observability Sessions at .conf26

conf26   With nearly 70 breakout sessions on the docket, the .conf26 Observability track is designed to help ...

How much can you really learn in 3 minutes?

Observability can certainly be hard to understand – there's a lot of jargon and buzzwords and it seems to ...

Event Series: The Agentic SOC: Trust Before Autonomy

AI is fundamentally changing security operations, but true progress requires more than just automation—it ...