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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...