Monitoring Splunk

is this tcp routing configuration valid?

a212830
Champion

Hi,

I want to send data to multiple systems from a specific feed. I have the following TCP_ROUTING command in my inputs.conf - is it valid? I have a stanza setup for each of these, but I'm not seeing the data come into my dev system.

_TCP_ROUTING = eigroup,eiDevgroup

Tags (1)
0 Karma

eashwar
Communicator

You use inputs.conf and outputs.conf to route data to specific indexers, based on the data's input.

Here's an example that shows how this works.

  1. In outputs.conf, you create stanzas for each receiving indexer:

    [tcpout:systemGroup]

    server=server1:9997

    [tcpout:applicationGroup]

    server=server2:9997

  2. In inputs.conf, you use _TCP_ROUTING to specify the stanza in outputs.conf that each input should use for routing:

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

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

The forwarder will route data from file1.log to server1 and data from file2.log to server2.

EDIT: What if I want to send one of those feeds to two seperate systems?

inputs.conf

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

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

outputs.conf

[tcpout:systemGroup]
server=server1:9997, server2:9997
[tcpout:applicationGroup]
server=server1:9997, server2:9997

Yours,

eashwar raghunathan

happy splunking

if this helps you dont forget to vote!! thanks in advance!!
read more @ http://docs.splunk.com/Documentation/Splunk/5.0.2/Deploy/Routeandfilterdatad

0 Karma

a212830
Champion

Sorry, I need to be more specific. It appears that the above example will load-balance to two different servers within the stanza. I want to send it to different two different stanzas.

0 Karma

eashwar
Communicator

hello brother i have edited the above answer!!

0 Karma

a212830
Champion

Thanks. What if I want to send one of those feeds to two seperate systems?

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 ...