UDP
Ship UDP logs to Logit.io via Logstash
Follow the steps below to send your observability data to Logit.io
Logs
Install Integration
Recommendations
Logs sent via UDP are not encrypted and have no delivery guarantee.
This input is supported for legacy reasons and Logit.io would not recommend setting up a new source integration sending via UDP if there is a better option available.
Send data to UDP input
Sending an example log to logstash with logger
. Logger is available by default on Linux, macOS, and Windows Subsystem for Linux (WSL).
Open a terminal and enter the following command. If you are logged in to your Logit.io account the host and
port details should be populated with the correct values.
logger -n @logstash.host -P @logstash.port "My log message here"
Note that logger
also sends metadata with the log message, such as the hostname and the time the log was sent.
Launch Logs to View Your Data
Launch LogsHow to diagnose no data in Stack
If you don't see data appearing in your stack after following this integration, take a look at the troubleshooting guide for steps to diagnose and resolve the problem or contact our support team and we'll be happy to assist.