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!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...