- Lab
- 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.*
Path Info
Table of Contents
-
Challenge
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
-
Challenge
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.