Getting Data In

Splunk Fowarder - 2 distincts inputs & outputs

rbw78
Communicator

Hello,

I would like to know if that possible to configure on a single splunk fowarder, 2 distincts inputs and outputs.

In a concrete way, i would to receive the inputs logs coming from :

  • UDP:10001 and send them to TCP:10001 in output
  • UDP:10002 and send them to TCP:10002 in output

The only configuration i see, is centralizing the logs in a single point from the inputs, and send them to the outputs.
I want 2 distincts flow is it possible ?

It should look like this

alt text

Thanks !

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

You sure can! You will need to use TCP_ROUTING in your inputs.

So it might go something like this:

[outputs.conf]
[tcpout:UDP10001]
server=server1:9997
[tcpout:UDP10002]
server=server2:9997

[inputs.conf]
[udp://10001]
_TCP_ROUTING = UDP10001
[udp://10002]
_TCP_ROUTING = UDP10002

http://docs.splunk.com/Documentation/Splunk/5.0/Deploy/Routeandfilterdatad#Route_inputs_to_specific_...

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

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