- A Cloud Guru
Working with Log Files and Journals on RHEL 8
System logging is an important function in Linux. Without logs, troubleshooting would be much more difficult. Even _with_ logs, you're swimming in a sea of data. Knowing how to find what you're looking for is important. In this hands-on lab, we will cover how to locate and interpret system log files and journals. We will also examine how we can preserve system journals across reboots. **Red Hat Exam Requirements Covered:** - Locate and interpret system log files and journals - Preserve system journals *This course is not approved or sponsored by Red Hat.*
Table of Contents
Locate and Interpret System Log Files and Journals
- Query the journal for a number of entries
- Query the journal for a list of boot session entries, then query a particular session
- Perform simple journal queries
- Query the journal for a range of entries based on date/time
Preserve System Journals
- Determine the settings for the journal persistence
- Create the needed directory
- Confirm the journal has been made persistent
- Ensure all entries are pushed to persistent storage
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.