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!

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...