课程: Linux: Kernels and Logging for System Administration
免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
Log to a remote logging server - Linux教程
课程: Linux: Kernels and Logging for System Administration
Log to a remote logging server
- [Presenter] Rsyslog has the ability to log messages to a remote log server. This can be handy as all messages can be aggregated to a central logging server from various hosts. The change from using a static file for an action to a remote server is quite easy using rsyslog basic format. To set this up, you'll need two Enterprise Linux virtual machines. If you have a second VM from one of my other courses, then use it, but if not, it only takes a second to make one. First shut down your rhhost1 VM if it's running. Once it's shut down, go to the virtual box manager window. Right click on rhhost1 and select Clone. Change the name to rhhost2, and then for MAC address policy, select Generate new MAC addresses for all network adapters and click on Next. Now click on Linked clone as it will finish faster and then click on Finish. Now start up your rhhost2 VM. Once it has booted up, log in as user1 and use the same password as rhhost1. Since rhhost2 is a clone of rhhost1 it will have 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 秒
-
(已锁定)
-