Start the universal forwarder
After you install the universal forwarder, you must start it before it can take configurations and forward data. The only exceptions are if you installed the forwarder with the Windows MSI or Mac OS X DMG packages. Those packages include logic that lets you accept the license agreement and start the forwarder automatically.
You must also start (or restart) the forwarder after you make changes to configuration files.
The following commands use environment variables that might not be automatically set on your host. The environment variables represent where the universal forwarder has been installed on the host. To learn how to set these environment variables, see Change default values in the Admin Manual.
Run the following commands to start the universal forwarder at any time. If this is the first start, the forwarder presents the license agreement, which you must read and accept to continue.
Unix | Windows |
---|---|
cd $SPLUNK_HOME/bin |
cd %SPLUNK_HOME%\bin
|
Unix | Windows |
---|---|
cd $SPLUNK_HOME/bin |
cd %SPLUNK_HOME%\bin
|
Unix | Windows |
---|---|
cd $SPLUNK_HOME/bin |
cd %SPLUNK_HOME%\bin
|
Make a universal forwarder part of a host image | Stop the universal forwarder |
This documentation applies to the following versions of Splunk® Universal Forwarder: 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.0.5, 7.0.6, 7.0.7, 7.0.8, 7.0.9, 7.0.10, 7.0.11, 7.0.13
Feedback submitted, thanks!