Loading topic
sudo, inspect systemd units with systemctl, and recognize common paths under /var/log. You should also know that a service is a background process managed by the operating system.2 min readsystemd commands, and have seen files under /var/log. This chapter explains how syslog labels messages so that you can route, store, or ignore them.2 min readsudo, use basic systemctl commands, and understand the /var/log directory.2 min readsudo, systemd basics, and the /var/log directory. This chapter explains why log files need a lifecycle instead of growing forever.2 min readsudo, understand /var/log, and know how to restart or signal a systemd service. This chapter focuses on rotating ordinary text log files. logrotate does not manage the binary journal maintained by systemd-journald.2 min readsudo, and read basic systemd unit status. You should also know that a logrotate configuration describes what to do with selected log files, while a scheduler starts logrotate at a regular time.2 min readsudo, use systemctl, and read basic output from journalctl. You should also understand that a Linux server may have both a systemd journal and traditional files under /var/log.2 min readsudo, use systemctl, and understand Linux facilities and severities such as auth, kern, daemon, info, and error.2 min readsudo, use systemctl, understand TCP ports and firewalls, and know that rsyslog evaluates messages against configuration rules. You should also know the difference between the systemd journal and traditional syslog messages.2 min readsudo, manage systemd services, open a firewall port, and read basic rsyslog rules. This chapter configures a central server that accepts syslog messages over TCP and stores them in separate files for each sending host and program.2 min readsudo, inspect systemd units, and understand basic hostnames and TCP networking.2 min readsystemctl, and distinguish a client server from a central log server. It also assumes basic knowledge of TCP ports and firewalls.2 min readsudo, use systemctl, and understand TCP ports and /var/log. This chapter assumes an rsyslog receiver already writes remote messages under /var/log/remote.2 min readsudo, understand TCP ports and firewalls, and already have a working rsyslog client and central receiver. This chapter adds transport encryption and client authentication to that pipeline.2 min readsudo, edit rsyslog and logrotate files, inspect /var/log, and use basic systemctl commands. Test from a client server and a central receiver. Replace example paths and hostnames with the paths used in your configuration.2 min readsudo, systemctl, hostnames, TCP ports, firewalls, and /var/log. Troubleshoot the pipeline in order: source, local service, network, receiver, and storage. Testing only the receiver can hide a failure on the client.2 min readsudo, manage systemd services, and understand TCP networking. It also assumes that you know the difference between local log files, the systemd journal, and an rsyslog receiver.2 min read