Difference between revisions of "Syslog"

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
  
 +
/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
 +
 +
<pre>
 +
"LogConfig": {
 +
  "Type": "syslog"
 +
  "Config": {}
 +
}
 +
</pre>
  
 
  [[Cisco IOS]]:  
 
  [[Cisco IOS]]:  
Line 8: Line 26:
 
  * [[show logging]]  
 
  * [[show logging]]  
  
 +
 +
== Related terms ==
 +
* [[PAN-OS syslog]]
 +
* [[HP iLO features]]
  
 
== See also ==
 
== See also ==
 
* {{logging}}
 
* {{logging}}
 +
* [[Docker logging]]
 +
* {{syslog}}
 +
  
 
[[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: