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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...