syslog-ng is an enhanced log daemon, supporting a wide range of input and output methods: syslog, unstructured text, message queues, databases (SQL and NoSQL alike) and more.
- receive and send RFC3164 and RFC5424 style syslog messages
- work with any kind of unstructured data
- receive and send JSON formatted messages
- classify and structure logs with builtin parsers (csv-parser(), db-parser(), ...)
- normalize, crunch and process logs as they flow through the system
- hand on messages for further processing using message queues (like AMQP), files or databases (like PostgreSQL or MongoDB).
- syslog-ng provides performance levels comparable to a large cluster while running on a single node.
- In the simplest use-case it scales up 600-800k messages per second.
- But classification, parsing and filtering still produces several tens of thousands messages per second.
Installation from Source
To compile from source, the usual drill applies (assuming you have the required dependencies):
$ ./configure && make && make install
Some of the functionality is compiled only in case the required development libraries are present. The configure script displays a summary of enabled features at the end of its run.
Installation from Binaries
Binaries are available in various Linux distributions and contributors maintain packages of the latest and greatest syslog-ng version for various OSes.
Simply invoke the following command as root:
# apt-get install syslog-ng
Latest versions of syslog-ng are available for a wide range of Debian and Ubuntu releases and architectures from an unofficial repository.
syslog-ng is available as a Fedora package that you can install using yum:
# yum install syslog-ng
Binaries for other platforms might be available, please check out the official third party page for more information.