Admin Manual

 


How Splunk Works

Configure deployment clients

This documentation does not apply to the most recent version of Splunk. Click here for the latest version.

Configure deployment clients

Before you configure deployment clients, determine whether you are using polling or multicast. Also, make a map of server classes. A server class map includes which configuration files and clients belong to each class. Learn more about server classes by reading this page.


Next, install Splunk on each client machine and configure it as a deployment client.


Enable clients via the CLI

To use Splunk's CLI, navigate to the $SPLUNK_HOME/bin/ directory and use the ./splunk command. You can also add Splunk to your path and use the splunk command.


Note: Use only one of the following methods. The method for the client must match the server's.



polling

With polling enabled, deployment clients check for configurations from the deployment server and pull configurations as needed.


Run the following command from the Splunk CLI on each client:


./splunk set deploy-poll x.x.x.x:pppp



Substitute the IP and management port of the deployment server (the management port is typically 8089).


multicast

Deployment clients set with multicast receive notice of configurations from the deployment server.


Run the following command from the Splunk CLI on each client:


./splunk set deploy-multicast x.x.x.x:pppp

Substitute the multicast group IP/Port.


Enable clients via deployment.conf

Alternately, configure clients via deployment.conf. Create a deployment.conf file in $SPLUNK_HOME/etc/bundles/local/ or your custom bundle directory.


Note: Use only one of the following methods. The method for the client must match the server's.


multicast

[deployment-client]
multicastUri = <IP:Port, IP2:Port2, etc>
mcastInterfaceIp = <IP Address>

multicastUri = <IP:Port, IP2:Port2, etc>

mcastInterfaceIp = <IP Address>

polling

[deployment-client]
deploymentServerUri = <IP:Port, IP2:Port2, etc>
pollingFrequency = <integer>
maxBackoff = <integer>
serverClasses = <comma separated list>

deploymentServerUri = <IP:Port, IP2:Port2, etc>

pollingFrequency = <integer>

maxBackoff = <integer>

serverClasses = <comma separated list>

Example

Here are two different example deployment.conf files. Configure your deployment.conf and place it in $SPLUNK_HOME/etc/bundles/local/ or your own custom bundle directory (on the client side).


multicast

Here's a basic config, enabled for multicast:


[deployment-client]
multicastUri=225.0.0.39.9999

polling

Here's a config, enabled for polling:


[deployment-client]
deploymentServerUri = 72.28.11.182:8089
pollingFrequency = 15

This documentation applies to the following versions of Splunk: 3.2 , 3.2.1 , 3.2.2 , 3.2.3 , 3.2.4 , 3.2.5 , 3.2.6 View the Article History for its revisions.


You must be logged into splunk.com in order to post comments. Log in now.

Was this documentation topic helpful?

If you'd like to hear back from us, please provide your email address:

We'd love to hear what you think about this topic or the documentation as a whole. Feedback you enter here will be delivered to the documentation team.

Feedback submitted, thanks!