课程: Linux: Kernels and Logging for System Administration
免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
Rsyslog configuration - Linux教程
课程: Linux: Kernels and Logging for System Administration
Rsyslog configuration
- [Instructor] Log files are files that contain messages about the system. These messages can pertain to the kernel, services, or applications. There are different logs for different processes and services and are a great source of information about the running system. In order to read the logs provided by rsyslog, you need to find them first. To view the rsyslog.conf file using less with line number turned on, type in less capital N /etc/rsyslog.conf and hit enter, and then scroll down to line 40. These are the rules specifying where each type of message will be logged. These single line rules are what is called basic format. For advanced logging, there is also an advanced format that is multiline, has conditionals and looks more like a programming language. For this course, we'll focus on basic format because it works in most logging scenarios. Just be aware that advanced format exists and provides a lot more power for complex configurations. There are two columns in a rule, the…
内容
-
-
-
-
-
-
(已锁定)
About Linux logging3 分钟 45 秒
-
(已锁定)
Make journald logs persistent53 秒
-
(已锁定)
Rsyslog configuration2 分钟 58 秒
-
(已锁定)
View system log files4 分钟 5 秒
-
(已锁定)
Use rsyslog filters2 分钟 12 秒
-
(已锁定)
Use rsyslog actions3 分钟 17 秒
-
(已锁定)
Rotate log files1 分钟 53 秒
-
(已锁定)
Clear old system journals2 分钟 4 秒
-
(已锁定)
Retrieve systemd journal1 分钟 59 秒
-
(已锁定)
Log to a remote logging server7 分钟 36 秒
-
(已锁定)
-