Difference between revisions of "Syslog"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
  /etc/[[syslog.conf]]
 
  /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
  
  
Line 22: Line 26:
 
  * [[show logging]]  
 
  * [[show logging]]  
  
 +
 +
== Related terms ==
 +
* [[PAN-OS syslog]]
 +
* [[HP iLO features]]
  
 
== See also ==
 
== See also ==
Line 27: Line 35:
 
* [[Docker logging]]
 
* [[Docker logging]]
 
* {{syslog}}
 
* {{syslog}}
* {{logging}}
+
 
  
 
[[Category:Logging]]
 
[[Category:Logging]]

Latest revision as of 11:07, 17 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 


Related terms[edit]

See also[edit]

Advertising: