Difference between revisions of "Syslog"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 31: Line 31:
 
* [[Docker logging]]
 
* [[Docker logging]]
 
* {{syslog}}
 
* {{syslog}}
* {{logging}}
+
 
  
 
[[Category:Logging]]
 
[[Category:Logging]]

Revision as of 12:04, 5 August 2020

This article is a Draft. Help us to complete it. 


/etc/syslog.conf
/var/log/syslog
grep -Ei -B 1 -A 1 "crit|err[^u]|warn|fail[^2]|alert|unknown|unable|miss|except|disable|invalid|cannot|denied|broken|exceed|unsafe|unsolicited" \
   /var/log/syslog


systemd-journald

journald.conf Option: #ForwardToSyslog=yes


docker inspect <container_id|container_name> | grep -A 5 LogConfig
"LogConfig": {
  "Type": "syslog"
  "Config": {}
}
Cisco IOS: 
* Router(config)#logging host x.x.x.x
* show logging 


See also

Advertising: