All my homelab servers and containers send their logs to a local Graylog instance. I wanted my VPS to do that as well — but sending unencrypted logs over the internet is not a good idea. Table of contents UDP (unsecure) TCP and TLS (secure) Graylog Router haproxy rsyslog Finito! UDP (unsecure) Lets first look at how we can send unencrypted logs over UDP from rsyslog to Graylog. That is fine on a local network where the clients are trusted, and the latency is low.