From the course: Cert Prep LPIC-1 Exam 102 (Version 5.0)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Locate and interpret system log files - Linux Tutorial
From the course: Cert Prep LPIC-1 Exam 102 (Version 5.0)
Locate and interpret system log files
- Log files, are files that contain messages about the system. These messages would pertain to the kernel services or applications. There are different logs for different tasks. For instance, there's a log that keeps track of failed logins. There's another log, Just for cron jobs and so on. Most system D based operating systems have two login systems Rsyslog log and journald. Rsyslog is compatible sysklogd and handles persistent logs. Rsyslog either logs to text files in the local machine or it logs across the network to a remote logging server using either TCP or UDP protocols. Journald however, is part of system dean is not persistent by default, so the journal logs don't survive a reboot. Since the journal is binary and it's only stored in memory, it's very fast to write to and very fast for us to search, to ensure Rsyslog is running. We can use systemctl, hyphen sudo space systemctl space start…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
(Locked)
Locate and interpret system log files4m 57s
-
Read the system journal3m 23s
-
(Locked)
Configuration of logrotate2m 33s
-
(Locked)
Filter journal data by criteria1m 25s
-
(Locked)
Rsyslog actions1m 41s
-
(Locked)
Clear old systemd journal data2m 33s
-
(Locked)
Retrieve systemd journal data from a rescue system2m 18s
-
(Locked)
About syslog, rsyslog, and syslog-ng3m 32s
-
(Locked)
-
-
-
-
-
-
-
-
-