Send your system logs to Better Stack using syslog-ng.
Set up syslog-ng using the provided script:
Curious about what the script does?
syslog-ng is installed on your system.Restart the syslog-ng service to reload configuration:
You should see your logs in Better Stack β Live tail.
Please let us know at hello@betterstack.com.
We're happy to help! π
Our Syslog server listens for TCP connections on port 6514, allowing only encrypted traffic. It also listens on port 6517 for unencrypted UDP connections.
Please use the Ingesting host from your source settings as the hostname.
To authenticate the incoming logs, we utilize Syslog's structured data. Every Syslog message must include [logtail@11993 source_token="$SOURCE_TOKEN"].
Download CA certificates (Let's Encrypt) to enable TLS:
The certificate links are taken from the Let's Encrypt website.
Read more about the setup in the syslog-ng documentation.
Do you want to log over TCP or UDP?
Configure syslog-ng to log over TCP:
Configure syslog-ng to log over UDP:
Restart the syslog-ng service:
Test the logger:
You should see your logs in Better Stack β Live tail.
Please let us know at hello@betterstack.com.
We're happy to help! π
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.