Linux log management and emergency analysis (backup log)

Log file:

Configuration file of Log Service
Insert picture description here

Remote backup of logs:

Trace log
Insert picture description here

Backup log (both are linux servers)

First open the log configuration file,
Insert picture description here
modify the configuration file and send ## What service and level to send to the title,
Insert picture description here
and turn off the firewall and selinux
Insert picture description here
Insert picture description here

Log backup server:

Open the log service configuration
Insert picture description here
Open the function module and remove the comment:
Insert picture description here
set the storage path and specify the accepted server IP:
Insert picture description here
restart the service:
Insert picture description here
view the port:
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_42478365/article/details/113738981