Topics

| pdf version

How Splunk Works


Splunk > The IT Search Company

  • Search and navigate IT data from applications, servers and network devices in real-time.
  • Download Splunk

Localized Splunk documentation

Looking for Splunk documentation in other languages?

Set up data balancing

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

Set up data balancing

Set up your forwarding servers to balance outputs by sending events in a round-robin fashion to separate Splunk servers. To set up data balancing, add a stanza to outputs.conf.


Configuration

Edit $SPLUNK_HOME/etc/bundles/local/outputs.conf:


[tcpout:FooGroup]
server=$IP:$PORT, $IP2:$PORT2, etc...

Specify the $IP:$PORT of the Splunk servers that will receive the forwarded data. You can enter any number of servers for Splunk to round-robin between. If one of the receiving servers goes down, the forwarder sends all events to the one that is still up, while simultaneously retrying the one that is down. If all servers are down, the forwarder goes into retry loops, and the queue fills according to the queue configuration parameters.


Also, you can optionally specify back off and queue settings in outputs.conf. For more information, read Configure outputs.conf.


Example

[tcpout:SwanGroup]
server=10.1.1.197:9997, 10.1.1.200:9999
[tcpout:PearlGroup]
server=10.1.1.220:9997, 10.1.1.300:9999

With this configuration, Splunk clones every event into 2 round-robin target groups.

Revision: 207 | Contact | Privacy Policy | Terms of Use | Community content licensed under Creative Commons