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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...