Knowledge Management

Forwardedindex Whitelist Routing

ephemeric
Contributor

Greetz,

We have two summary indexes we would like to forward, so on Splunk 5.0.3:

[tcpout]

indexAndForward = true

defaultGroup = Client1, Client2

maxQueueSize = 7MB

useACK = true

# RTFM says below to disable defaults:

forwardedindex.0.whitelist =

forwardedindex.1.blacklist =

forwardedindex.2.whitelist =

# Then custom.

forwardedindex.0.blacklist = .*

forwardedindex.1.whitelist = .*_ext_summary

[tcpout:Client1]

server = 172.nn.nn.nn:9997

[tcpout:Client2]

server = 172.nn.nn.nn:9997

As per RTFM, whitelisting only allowed in top stanza.

At the moment, both groups get all forwarded summary indexes which is not what we want.

Is it possible to TCP route via a group for a whitelisted forwardedindex?

I have done _TCP_ROUTING for an input but don't see anything for an index?

We want to send client1_ext_summary out via Client1 group and client2_ext_summary out via Client2 group.

Thank you.

0 Karma

SarahSplunk123
Explorer

Hello,

You could do this via routing data from your indexes through props/transforms.conf to the outputs.conf.

Best regards

0 Karma
Get Updates on the Splunk Community!

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...