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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...