Getting Data In

Is there a potential data loss with UDP?

ddrillic
Ultra Champion

We are forced to use UDP (and not TCP) for one client and we wonder how much data loss we might expect with UDP.

Any thoughts?

Tags (3)
0 Karma
1 Solution

dkeck
Influencer

HI,

this tuning tips might help you to lower the potential data loss.

https://wiki.splunk.com/Community:UDPInputs

View solution in original post

ddrillic
Ultra Champion

Our Sales Engineer said -

-- The best practice (not just for Splunk, really for the whole industry) is to put your UDP receiver as close as possible to the sender. Like, on the same switch if you can help it. This will minimize the lost packets that are indeed inevitable with UDP.

The other thing you should look into is whether UDP is really required. Most appliances / switches / firewalls / routers these days have an alternative way to send data. Usually an API, TCP bound syslog, a form of reliable/resilient UDP etc. Literally anything is better than basic UDP.

0 Karma

dkeck
Influencer

HI,

this tuning tips might help you to lower the potential data loss.

https://wiki.splunk.com/Community:UDPInputs

ddrillic
Ultra Champion

Thank you @dkeck!

0 Karma

nswondem
Path Finder

By definition, UDP is not reliable. Try the tuning but remember that on the network layer UDP is not going to try. No handshake.

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