Getting Data In

Installing Splunk Light Forwarder on Linux

sipapress2go
Engager

We have two servers. One primary server (Debian Linux) running our software and a secondary server (also Debian Linux) running backups, fail-over and Splunk.

For some time now, I have been running my own software for mirroring the log-files from the primary server to the secondary -- making Splunk pick it up on arrival. My own implementation is working fine, but when the log-files gets rotated I need to spool them from the start to make sure that no log-entries is left behind. It is crucial that every line gets relayed to Splunk.

As an alternative I have decided to instead try to install Splunk Light Forwarder on the primary server. I have read a great deal about it in the manual and around the web, but I can't find any instruction on how to install just the Light Forwarder without the entire Splunk package.

My question is: How do I install the Splunk Light Forwarder on Debian Linux, so it doesn't eat up all my resources?

lguinn2
Legend

Just an update. There is a Universal Forwarder: here are the docs that describe how to install it on a variety of platforms.

chris
Motivator

At the moment there is no standalone package for the Splunk Light Forwarder. You have to install the full package and then tell Splunk to only act as a LightForwarder. You have probably read this ( http://www.splunk.com/base/Documentation/latest/Admin/Enableforwardingandreceiving#Set_up_forwarding ) already.

Those are the important 2 commands:

./splunk enable app SplunkLightForwarder -auth <username>:<password>
./splunk add forward-server <host>:<port> -auth <username>:<password>

Once Splunk is set up as a light forwarder it doesn't use much system resources. We use Splunk on Solaris and limit the resources it is allowed to use at OS level when we start it.

I think that there are plans to ship a forwarder only package with release 4.2 which is due later this year.

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...