Getting Data In

How to edit my heavy forwarder tcpout configuration to forward a specified index to a clone group of indexers?

andrey2007
Contributor

Hello all,

I have a Heavy Forwarder which forwards some indexes to specified indexers group.
Now I would like to forward a specified index to another group of indexers.
My tcpout.conf looks like this, but I have all indexes forwarded to clone group.

Does anyone have any ideas?

[tcpout]
maxQueueSize = auto
forwardedindex.0.whitelist = test_ind
forwardedindex.0.whitelist = _audit
forwardedindex.filter.disable = false
indexAndForward = true
autoLBFrequency = 30
blockOnCloning = true
compressed = false
disabled = false
dropClonedEventsOnQueueFull = 5
dropEventsOnQueueFull = -1
heartbeatFrequency = 30
maxFailuresPerInterval = 2
secsInFailureInterval = 1
maxConnectionsPerIndexer = 2
forceTimebasedAutoLB = false
sendCookedData = true
connectionTimeout = 20 
readTimeout = 300
writeTimeout = 300 
useACK = true
blockWarnThreshold = 100
sslQuietShutdown = false
defaultGroup=indexer1, indexer2

[tcpout:indexer1]
server=sp-idx1:9997

[tcpout:indexer2] //clone group
forwardedindex.0.whitelist = test_ind
forwardedindex.1.blacklist = .*
forwardedindex.filter.disable = false
server=sp-idx2:9997
0 Karma
1 Solution
Get Updates on the Splunk Community!

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...