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!

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