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!

Your Feedback. Our Roadmap. Visit the PX Feedback Booth at .conf26

You use Splunk every day, come and help shape what's next.  Save Your Seat: Product-Focused Sessions at ...

Agentic SOC Triage: Investigating Splunk ES Notables with MCP Server and a Local LLM

The Problem: Too Many Alerts, Too Little Context Security operations teams running Splunk Enterprise Security ...

Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas

Watch Now Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas     Do you ever feel ...