Admin Manual

 


About the Splunk 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.

Note: The Splunk desktop configuration (available in version 3.4 and later) disables deployment server functionality, but supports running as a deployment client. To run the Splunk deployment server, you must disable the desktop configuration app. Refer to the topic about the Splunk desktop app for more information.

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

If you are uncertain if a previously installed client is currently enabled or disabled, check the deployment.conf file for disabled = <true/false>.

Enable/disable 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).

Disable clients with the following command:

./splunk disable deploy-client

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.

Disable clients with the following command:

./splunk disable deploy-client

Enable clients via deployment.conf

Alternately, configure clients via deployment.conf. Create a deployment.conf file in $SPLUNK_HOME/etc/system/local/ or your custom configuration 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>
disabled = <true/false>

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

mcastInterfaceIp = <IP Address>

disabled = <true/false>

polling

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

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

pollingFrequency = <integer>

maxBackoff = <integer>

serverClasses = <comma separated list>

disabled = <true/false>

Example

Here are two different example deployment.conf files. Configure your deployment.conf and place it in $SPLUNK_HOME/etc/system/local/ or your own custom configuration 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.3 , 3.3.1 , 3.3.2 , 3.3.3 , 3.3.4 , 3.4 , 3.4.1 , 3.4.2 , 3.4.3 , 3.4.5 , 3.4.6 , 3.4.8 , 3.4.9 , 3.4.10 , 3.4.11 , 3.4.12 , 3.4.13 , 3.4.14 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!