Getting Data In

Can I forward different data inputs to different splunk indexers on a Light Forwarder

chris
Motivator

Is it possible to forward data from source A to Indexer A and data from source B to Indexer B if I use the light forwarder? Or do I need to configure this in tranforms.conf and have to use the normal forwarder?

Thank you for helping me.

Chris

1 Solution

chris
Motivator

After trying with props.conf & transforms.conf we saw that it is possible to specify the group in the inputs.conf file and therefor it is possible to use the LightForwarder, the regular forwarder is not needed to accomplish this.

outputs.conf

[tcpout]
disabled = false
isLoadBalanced = False
maxQueueSize = 1000

[tcpout:systemGroup]
server=server1:9997

[tcpout:applicationGroup]
server=server2:9997

inputs.conf

[monitor://.../file1.log]
_TCP_ROUTING = systemGroup

[monitor://.../file2.log]
_TCP_ROUTING = applicationGroup

View solution in original post

chris
Motivator

After trying with props.conf & transforms.conf we saw that it is possible to specify the group in the inputs.conf file and therefor it is possible to use the LightForwarder, the regular forwarder is not needed to accomplish this.

outputs.conf

[tcpout]
disabled = false
isLoadBalanced = False
maxQueueSize = 1000

[tcpout:systemGroup]
server=server1:9997

[tcpout:applicationGroup]
server=server2:9997

inputs.conf

[monitor://.../file1.log]
_TCP_ROUTING = systemGroup

[monitor://.../file2.log]
_TCP_ROUTING = applicationGroup

Brian_Osburn
Builder

Take a look @ http://www.splunk.com/base/Documentation/latest/Admin/Outputsconf. You can modify the outputs.conf in /etc/apps/SplunkLightForwarder/local/outputs.conf..

chris
Motivator

Thank you for your reply, we did define several tcpout-Groups, but didn't know how to make sure that events are forwarded to the right destination. I posted our solution below.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...