As of version 3.4, the Splunk forwarder and light forwarder (formerly referred to as the lightweight forwarder) are now packaged with as applications that you can enable via Splunk Web or the CLI.
Important: If you are configuring forwarding and receiving, your receiving Splunk instance must be running the same (or later) version of Splunk as your forwarders. Also, you cannot use data balancing in conjunction with the light forwarder because the data is not parsed before being sent--events may be split into parts before reaching the receiver, resulting in partial events.
What's different about the Splunk light forwarder?The Splunk light forwarder can monitor local log files and directories, collect Windows event logs and use scripted inputs (including local WMI and registry data sources on Windows). To cut down on overhead, however, many other features are disabled.
Specifically, the Splunk light forwarder:
[modules] distributedDeployment = disabled distributedSearch = disabled input/FIFO = disabled input/fschangemanager = disabled input/UDP = disabled input/tcp = disabled input/syslogFIFO = disabled input/syslogUDP = disabled
For a detailed view of the exact configuration, look at the setup.conf file for the SplunkLightForwarder application in $SPLUNK_HOME/etc/apps/SplunkLightForwarder/default, where $SPLUNK_HOME is the directory into which you installed Splunk.
To alter the configuration of Splunk light forwarder (to add back in a specific input type, for example), edit the setup.conf for the SplunkLightForwarder application.
What's different about the Splunk forwarder?The Splunk forwarder disables Splunk Web. All other functions and modules remain enabled.
For a detailed view of the exact configuration, you can look at the setup.conf file for the SplunkForwarder application in $SPLUNK_HOME/etc/apps/SplunkForwarder/default, where SPLUNK_HOME is the directory into which you installed Splunk.
Read this before you enable Splunk forwarder or light forwarderSplunk Web is turned off in the forwarder and light forwarder to reduce the footprint of Splunk on the forwarding host. Therefore, if you want to use Splunk Web to configure your forwarding Splunk instance, do this before you enable forwarding. After you enable forwarding, you can only configure your forwarder via the Splunk CLI.
You must configure a receiver before setting up forwarding. This way, the Splunk receiving host is prepared for the forwarded data. Then, configure your forwarder(s). Follow these general steps to deploy Splunk forwarders and light forwarders effectively.
First, enable a Splunk server to receive data:
1. Decide which machine to use as a receiver.
2. Configure it to receive data using these instructions.
Note: Your receiving Splunk instance must be running the same version of Splunk as your forwarders, or a later version.
Then, on the forwarding Splunk instance:
1. Install Splunk on the machine that will be forwarding data.
2. Use Splunk Web or the CLI to add inputs as described here. Data from these inputs will be sent via the forwarder to the receiver.
3. Point your forwarder at the receiver using these instructions.
4. Then, use Splunk Web or the CLI to enable Splunk forwarder or light forwarder.
After you configure a Splunk instance to forward data, add any additional settings, such as routing, cloning, filtering or data balancing. Configuration changes are done on the forwarder side, on the host that is reading the data input.
If, once you've enabled the Splunk forwarder or light forwarder, you want to disable it, you must do it via the CLI as described below.
Important: You MUST provide this forwarder/light forwarder with the hostname and port of the Splunk server to which it will send data, using the information in this topic. You must also use the same information to set the Splunk server that will be receiving the data as a receiver.
Licensing for Splunk forwarder and light forwarderWhen you enable either the Splunk forwarder or light forwarder, you must manually switch licenses as appropriate.
Enable via Splunk WebTo enable Splunk forwarder or light forwarder via Splunk Web:
1. Log into Splunk Web.
2. Navigate to the Admin section, and click Applications.
The Applications:View/Manage Applications page is displayed.
3. Find the Splunk application you want to enable for this system and click Enable.
The application is enabled.
Note: Remember, if you enable Splunk forwarder or light forwarder, Splunk Web will subsequently be unreachable.
Enable via CLITo enable Splunk forwarder or light forwarder via the CLI:
./splunk enable app [SplunkForwarder|SplunkLightForwarder] -auth <username>:<password>
To disable Splunk forwarder or light forwarder via the CLI:
./splunk disable app [SplunkForwarder|SplunkLightForwarder] -auth <username>:<password>
Comments
No comments have been submitted.