Splunk Dev

unable to forward only one selected index in output.conf

sbsbb
Builder

I'm trying to disactivate all index for forwaring, and only forward those on the white list, but it doesn't work.

My output.conf
[tcpout]
disabled = false
indexAndForward = false
defaultGroup = shared_indexers
forwardedindex.filter.disable = false
forwardedindex.0.blacklist = .*
forwardedindex.1.whitelist = test

[tcpout:shared_indexers]
disabled = false
autoLB = true
server = ....

Her my default/output.conf
# Version 5.0.6

[tcpout]
maxQueueSize = auto
forwardedindex.0.whitelist = .*
forwardedindex.1.blacklist = _.*
#forwardedindex.2.whitelist = (_audit|_internal)
forwardedindex.filter.disable = false
indexAndForward = false
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 = false
0 Karma

lguinn2
Legend

Although I don't see it in the manual, I thought that the forwardedindex settings only worked if indexAndForward=true

0 Karma

sbsbb
Builder

Is there another way to only forward on index, then ?

0 Karma
Get Updates on the Splunk Community!

Leveraging Detections from the Splunk Threat Research Team & Cisco Talos

  Now On Demand  Stay ahead of today’s evolving threats with the combined power of the Splunk Threat Research ...

New in Splunk Observability Cloud: Automated Archiving for Unused Metrics

Automated Archival is a new capability within Metrics Management; which is a robust usage & cost optimization ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...