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

UDP

Ship logs using UDP to logstash

Step 1 - Sample Data

Lets start with some sample data:

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

Step 2 - Send data to UDP input

Sending the log to logstash with netcat

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

Step 3 - View data

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

expand view

Expand View

compact view

Compact View

Return to Search
Sign Up