Setup
This is a step-by-step guide on setting up the Splunk Universal Forwarder on a Linux machine to forward logs.
Setting up Splunk Universal Forwarder on a Linux Machine
To install the Splunk Universal Forwarder on a system you need to be able to access both Cloud Suite Collector and your Splunk Cloud instance.
-
Go to the Splunk download page to downland the Splunk Universal Forwarder.
-
Choose the appropriate .rpm package for your Linux machine.
-
Transfer the .rpm file to your Linux machine.
-
(optional) If you downloaded the file to a different machine, use the following
scp
command to transfer it to your Linux machine: -
Run the following command to install the .rpm file on your Linux machine:
Example: File name: splunkforwarder-<version>-<build>.x86_64.rpm
scp splunkforwarder-<version>-<build>.x86_64.rpm user@<server-ip>:/path/to/destination
sudo rpm -i splunkforwarder-<version>-<build>.x86_64.rpm