mirror of
https://github.com/awesome-foss/awesome-sysadmin.git
synced 2026-03-09 03:33:05 -05:00
[PR #468] log management: add rsyslog #1108
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/awesome-foss/awesome-sysadmin/pull/468
State: closed
Merged: Yes
Thank you for taking the time to work on a PR for Awesome-Sysadmin!
To ensure your PR is dealt with swiftly please check the following:
DemoandClientsare optional.Do not add a duplicate
Source codelink if it is the same as the main link.Keep the short description under 80 characters and use sentence case
for it, even if the project's webpage or readme uses another capitalisation.
Demolinks should only be used for interactive demos, i.e. not video demonstrations.- [Name](http://homepage/) - Short description, under 250 characters, sentence case. ([Demo](http://url.to/demo), [Source Code](http://url.of/source/code), [Clients](https://url.to/list/of/related/clients-or-apps)) `License` `Language`Languagetag is the main server-side requirement for the software. Don't include frameworks or specific dialects.Suggested titles: "Add aaa to bbb" for adding software aaa to section bbb,
"Remove aaa from bbb" for removing, "Fix license for aaa", etc.
Please take some time to answer the following questions as best you can:
Rsyslog is a mature, fast, full-featured syslog daemon. It is written in C and has very few dependencies. It has been the default syslog daemon in Debian for many years.
Yes, since 2015 for personal projects, and 2018 for work-related projects.
Both.
Up to a few dozen hosts (rsyslog clients) forwarding logs to a central rsyslog or graylog aggregator, with message rates between 10 and thousands of messages per second.
Pros: It is the the default in Debian and requires no additional configuration for simple, isolated hosts. It has extensive documentation. It is very light on resources. Configuring additional functionality such as log filtering, forwarding, logging to separate files, aggregating logs from multiple files, changing log format... is very simple and well documented. It just works and gets out of the way. As raw text files, syslog logs are easy to manipulate using standard Unix/Linux tools (
grep, sed, awk, tail...).Cons: As a syslog daemon, it handles unstructured log data, and may require additional parsing tools if more complex log analysis is required. Starting with Debian 12, rsyslog will no longer be installed by default, instead
systemd-journaldwill be used [1], so this may mark the beginning of progressively phasing out syslog-based logging services.I mostly use it to forward logs to a central location/log analyzer using TCP/SSL (either graylog, or a central rsyslog daemon), and to aggregate multiple log files to a central log using the
imfilemodule. I have found no significant limitations, at worst some trial-and-error when it comes to parsing extrenal multi-line log files. For quick local log viewing and analysis, I use https://docs.lnav.org/en/latest/ on rsyslog's logs.