This documentation does not apply to the most recent version of Splunk.
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
A deployment server sends configuration changes to deployment clients. Configurations are stored in bundle directories divided by server class. To configure server classes, read configuring server classes.
Any Splunk instance can be a deployment server. First, install Splunk on the server. Then, configure settings via deployment.conf.
First, create a deployment.conf in $SPLUNK_HOME/etc/bundles/local/ (or your own custom bundle directory).
The first stanza in deployment.conf looks like this:
[distributedDeployment] serverClassPath=$SPLUNK_HOME/etc/modules/distributedDeployment/classes
serverClassPath=$SPLUNK_HOME/etc/modules/distributedDeployment/classes
$SPLUNK_HOME/etc/modules/distributedDeployment/classes.
Next, configure server classes. The server class stanza looks like:
[distributedDeployment-classMaps] $IP_RANGE1 | $DNS1 = $SERVER_CLASSA, $SERVER_CLASSB $IP_RANGE2 | $DNS2 = $SERVER_CLASSC
Finally, set server parameters for either multicast or polling. You must stick with either multicast or polling on both the client and server side.
A stanza for multicast looks like this:
[distributedDeployment-multicast] sendMulticast=true multicastURI=<IP:PORT> interfaceIP=<IP> frequency=<integer> useDNS=<true/false>
[distributedDeployment-multicast]
sendMulticast = <true/false>
multicastUri = <IP:Port>
interfaceIP = <IP Address>
frequency = <integer>
useDNS = <true/false>
A stanza for polling looks like this:
[distributedDeployment-multicast] sendMulticast=false
sendMulticast=false
NOTE: With polling, most configurations are set on the client side.
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.
Here's a basic config, enabled for multicast:
[distributedDeployment] serverClassPath=/opt/splunk/etc/modules/distributedDeployment/classes [distributedDeployment-multicast] sendMulticast=true multicastUri=225.0.0.39:9999 [distributedDeployment-classMaps] www.* = web,apache 10.1.1.2* = osx
Here's the same basic config, but enabled for polling:
[distributedDeployment] serverClassPath=/opt/splunk/etc/modules/distributedDeployment/classes [distributedDeployment-multicast] sendMulticast=false [distributedDeployment-classMaps] www.* = web,apache 10.1.1.2* = osx