Configuring deploymentclient
At this stage, we understand how to configure the DS and install the UF and have enabled data forwarding. To get the latest apps/add-ons from the DS, the UF requires a deploymentlclient.conf
file, which can be created directly on the filesystem using a text editor. Alternatively, the same can be configured through the Splunk CLI command, which, in turn, writes to the deploymentclient.conf
file. The CLI approach is the safest option as it avoids typos and other mistakes that might arise by directly editing the file.
Let’s look at the Splunk CLI and file approaches for configuring the deployment client:
- Log in to the UF host and change the directory to
$SPLUNK_HOME/bin
(the Linux default is/opt/splunkforwarder/bin
). - Execute the
./splunk set deploy-poll <DS-host:port>
command to configuredeploymentclient
, as shown here:./splunk set deploy-poll 10.9.8.7:8089
- After successfully executing the command, change the directory to
...