CertGrid CertGrid
Hands-on Lab·Red Hat Certified System Administrator

systemd Journal and System Logs

One objective and the most useful troubleshooting skill in the blueprint. The journal is structured rather than textual, which is why it can be filtered by unit, priority, boot and arbitrary field - and why grep on /var/log is the slow way to do this.

Operating Running Systems Guide 28 of 67 Beginner

The journal is a binary, indexed store; journalctl is the only way to read it. rsyslog still writes plain-text files alongside it - /var/log/secure, /var/log/messages - so both exist on a RHEL system and neither replaces the other.

Every command on this page runs on RHCSA-A01.
Server NameIP AddressOSRolesCPURAMHDD
RHCSA-A01192.168.0.31RHEL 10.0Practice node (graded) - spare /dev/sda2 Core4 GB50 GB + 15 GB

This guide includes

Use this because it is the most useful troubleshooting skill in the blueprint. This matters because the journal is structured data rather than text - so filtering is the whole point, and the old text files still exist alongside it.

Before you start

  1. Filtering, which is the whole point

  2. It is structured, not text

  3. The text files that still exist

Official sources