Difference between revisions of "Syslog"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
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 | ||
Revision as of 07:20, 10 May 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
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: