Installing rsyslog¶
rsyslog is included by default in many Linux distributions. If it is not installed, you can add it with the following commands.
On Debian/Ubuntu¶
sudo apt update
sudo apt install rsyslog rsyslog-doc
On RHEL/CentOS¶
sudo dnf install rsyslog rsyslog-doc
Enable and Start the Service¶
After installation, enable and start rsyslog:
sudo systemctl enable rsyslog
sudo systemctl start rsyslog
Validating the Setup¶
To verify your installation and configuration, run:
rsyslogd -N1
This checks the configuration syntax without starting the daemon.
Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project
Contributing: Source & docs: rsyslog source project
© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.