Ready to get going? Start your 14 days free trial today

Start free trial

Have an account? Sign in

Send data via UDP to your Logstash instance provided by Logit.io

UDP

Ship logs using UDP to logstash

Step 1 - Sample DataCopy

Lets start with some sample data:

echo "Message sent to Logit.io using UDP" >> tmp.log

Step 2 - Send data to UDP inputCopy

Sending the log to logstash with netcat

cat tmp.log | nc -u your-logstash-host your-port

Step 3 - View dataCopy

Take a look in your kibana for your message, note UDP doesnt guarantee delivery

Step 4 - UDP Logs OverviewCopy

UDP (or User Datagram Protocol) is a communication transport protocol used across the Internet for a range of transmission types, including video playback or DNS lookups.

As this protocol doesn’t require a “handshake”, it makes data transfer a lot faster but also creates a gateway that could be easily exploited.

Because of the lack of handshake, there are no guarantees that your data will be delivered successfully and won’t be duplicated. Users that require error correction facilities may prefer to use TCP instead of UDP to remedy the concerns cited above.

Where error checking isn’t a vital concern UDP is the preferred protocol when time is of the essence for your data transfers. It is often used across the following use cases: live broadcasts, video chats & multiplayer games.

Our UDP log file analyser can be used to view, manage and centralise your log messages as well as deliver metrics for detailed and dynamically updating Kibana visualisations.

If you need any assistance with analysing your UDP log data we're here to help. Feel free to reach out by contacting the Logit support team via live chat & we'll be happy to help you start analysing your data.

Toggle View

Expand View

Return to Search