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
Get Updates on the Splunk Community!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...