Quantcast
Channel: Questions in topic: "universal-forwarder"
Viewing all articles
Browse latest Browse all 1551

Splunk Universal Forwarder and TCP Data: What exactly is Splunk looking for to determine EOF?

$
0
0
According to the doc here: http://docs.splunk.com/Documentation/Splunk/6.3.3/Forwarding/Setuploadbalancingd> Important: Universal forwarders are not able to switch indexers when monitoring TCP network streams of data (including Syslog) unless an EOF is reached or an indexer goes down, at which point the forwarder will switch to the next indexer in the list. Because the universal forwarder does not parse the data and identify event boundaries before forwarding the data to the indexer (unlike a heavy forwarder), it has no way of knowing when it's safe to switch to the next indexer unless it receives an EOF. We would like to know what exactly is Splunk UF looking for to determine EOF? Additional info: Currently, our app sending to the UF's TCP port does not use an EOF marker. This causes the UF to send data to the same indexer since it cannot switch to another indexer. As a result, we set forceTimebasedAutoLB=true to force the UF to switch indexers. However, our tests show that the UF fails to send events when this is set. For example, the following configuration: autoLB = true autoLBFrequency = 5 forceTimebasedAutoLB = true results in approximately 80% event loss when sending events received via TCP port at a rate of 1 event per second. From our testing: autoLB=F forceTimebasedAutoLB=F -> okay autoLB=F forceTimebasedAutoLB=T -> dropped events autoLB=T forceTimebasedAutoLB=T -> dropped events autoLB=T forceTimebasedAutoLB=F -> okay

Viewing all articles
Browse latest Browse all 1551

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>