# Syslog-ng

Syslog-ng is a flexible log management system that collects, parses, classifies, rewrites, and correlates logs from across your infrastructure, then stores or routes them to log analysis tools for homelab and server. It is open source and self-hosted, installable on Umbrel, Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/795/syslog-ng

## Description

Syslog-ng is a flexible log management system that collects, parses, classifies, rewrites, and correlates logs from across your infrastructure, then stores or routes them to log analysis tools for homelab and server admins who need centralized syslog handling.

## Platform availability

Available on 3 of 10 platforms: Unraid, Umbrel, ZimaOS.

## Health score

75/100 (Good), based on 5 of 5 factors.
- Maintained: 100 (last commit 22 days ago)
- Popular: 39 (86 GitHub stars)
- Easy to install: 55 (3 install platforms, install notes, Docker image)
- Light to run: 80 (1 GB minimum RAM, runs on ARM)
- Security check: 85 (no serious findings, CI)

## Links

- Umbrel: https://apps.umbrel.com/app/syslog-ng
- Docker Hub: https://hub.docker.com/r/linuxserver/syslog-ng
- Unraid: https://ca.unraid.net/apps/syslog-ng-00377wr0ad7ei7?q=syslog-ng
- Official website: https://www.syslog-ng.com/products/open-source-log-management/
- GitHub: https://github.com/linuxserver/docker-syslog-ng

## Common questions

### How can I centralize logs from multiple self-hosted machines using syslog-ng?

Run syslog-ng as a central collector and configure each machine's rsyslogd to forward logs to it. You can have syslog-ng create a separate subfolder for each host based on remote IP or reverse DNS.

### What log input formats can syslog-ng receive?

It supports legacy BSD syslog RFC3164, enhanced RFC5424, JSON, and journald message formats. Its patterndb can correlate events and transform them into a unified format.

### How do I install syslog-ng from a Linux distribution package?

Add the syslog-ng repository for your distro and install it with your package manager, such as sudo dnf install syslog-ng on Fedora/RHEL or sudo apt install syslog-ng on Debian/Ubuntu.

### Why might syslog-ng not collect logs after installation?

Check that the syslog-ng service is enabled and started, because if it is not running the installation is inactive and logs will not be collected or sent.

### How do I run syslog-ng as a LinuxServer.io Docker container?

Use the LinuxServer.io syslog-ng Docker image and set PUID and PGID for user mapping. The image uses a Docker manifest so pulling the latest tag retrieves the correct architecture.

### How do I gather debug information for a syslog-ng crash?

If compiling syslog-ng from source, include debug symbols using the --enable-debug configuration option or by passing the -g flag.

## Alternatives

- Kiwi Syslog Server: Kiwi Syslog - Syslog Server for Windows.
- NXLog: A modern logger/log collector with a multi-threaded design, clear configuration syntax, multi-platform support and clean source code.
- Nagios Log Server: Nagios Log Server is a powerful enterprise-class log monitoring and management application that allows organizations to quickly and easily…

---
Source: Our Local Host (https://ourlocalhost.com/app/795/syslog-ng), the self-hosted and open-source app directory.
