Difference between revisions of "Rsyslog"
From The Linux Source
(Created page with "Older Rsyslog versions were not logging in a traditional syslog format, and fields like time & date were not human-readble. To modify its behaviour and make the logs more deci...") |
(→Docs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | PARENT PAGE LINK: [[Syslog]] | ||
+ | |||
+ | |||
+ | === Docs === | ||
+ | http://www.rsyslog.com/guides-for-rsyslog/ | ||
+ | |||
+ | https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/ch-Viewing_and_Managing_Log_Files.html (7.4.x)<br> | ||
+ | http://www.rsyslog.com/doc/v7-stable/ | ||
+ | |||
+ | https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-Viewing_and_Managing_Log_Files.html (5.8.x)<br> | ||
+ | http://www.rsyslog.com/doc/v5-stable/ | ||
+ | |||
+ | === Logfile Format === | ||
Older Rsyslog versions were not logging in a traditional syslog format, and fields like time & date were not human-readble. To modify its behaviour and make the logs more decipherable, we would add or uncomment the following line (this may be the default on newer Rsyslog versions, but has not been verified) | Older Rsyslog versions were not logging in a traditional syslog format, and fields like time & date were not human-readble. To modify its behaviour and make the logs more decipherable, we would add or uncomment the following line (this may be the default on newer Rsyslog versions, but has not been verified) | ||
# Use traditional timestamp format | # Use traditional timestamp format | ||
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat | $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat |
Latest revision as of 14:05, 26 May 2017
PARENT PAGE LINK: Syslog
Docs
http://www.rsyslog.com/guides-for-rsyslog/
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/ch-Viewing_and_Managing_Log_Files.html (7.4.x)
http://www.rsyslog.com/doc/v7-stable/
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-Viewing_and_Managing_Log_Files.html (5.8.x)
http://www.rsyslog.com/doc/v5-stable/
Logfile Format
Older Rsyslog versions were not logging in a traditional syslog format, and fields like time & date were not human-readble. To modify its behaviour and make the logs more decipherable, we would add or uncomment the following line (this may be the default on newer Rsyslog versions, but has not been verified)
# Use traditional timestamp format $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat