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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...