All Apps and Add-ons

how Independent stream forwarder app on Linux machine, forwards netflow data to Indexer's in clustered environment?

trkswe
New Member

Hi!

The Splunk environment has 2 Indexers (Clustered) and 1 Search Head.
There is a dedicated Linux machine which is forwarding the NetFlow data received on port 9998,
to the indexers.

The streamfwd.conf is set like below:

[streamfwd]

httpEventCollectorToken = 06e31ecb-61e7-4f5d-bf7e-5651dbbc125a
ipAddr = 0.0.0.0
indexer.0.uri = http://10.23.0.14:8088
indexer.1.uri = http://10.23.0.15:8088

netflowReceiver.0.ip = 11.23.112.13
netflowReceiver.0.port = 9998
netflowReceiver.0.decoder = netflow
logConfig = streamfwdlog.conf
dedicatedCaptureMode = 0
netflowReceiver.0.protocol = udp
netflowReceiver.0.decodingThreads = 16
netflowElement.0.id = 258

tcpServer.0.address = 11.23.112.13

tcpServer.0.port = 80

The data is being sent to both Indexers.
But around 97% of the data is being sent to Indexer no. 2.

Is there any logic how the streamfwd sends which data to which Indexer,
or does it need to send all the data to both the Indexers?
How does streamfwd work in clustered environments?

Thanks a lot.

0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!