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!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...