diff options
Diffstat (limited to 'doc/rsyslog_conf.html')
-rw-r--r-- | doc/rsyslog_conf.html | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/rsyslog_conf.html b/doc/rsyslog_conf.html index 6976005..ec99a60 100644 --- a/doc/rsyslog_conf.html +++ b/doc/rsyslog_conf.html @@ -7,7 +7,10 @@ <p><b>This document is currently being enhanced. Please pardon its current appearance.</b></p> <p><b>Rsyslogd is configured via the rsyslog.conf file</b>, typically found in -/etc. By default, rsyslogd reads the file /etc/rsyslog.conf.</p> +/etc. By default, rsyslogd reads the file /etc/rsyslog.conf. This may be changed +by a command line option.</p> +<p><a href="http://wiki.rsyslog.com/index.php/Configuration_Samples"> +Configuration file examples can be found in the rsyslog wiki</a>.</p> <p>While rsyslogd contains enhancements over standard syslogd, efforts have been made to keep the configuration file as compatible as possible. While, for obvious reasons, <a href="features.html">enhanced features</a> require a @@ -39,6 +42,7 @@ a description.</p> <li><a href="rsconf1_fileowner.html">$FileOwner</a></li> <li><a href="rsconf1_includeconfig.html">$IncludeConfig</a></li> <li><a href="rsconf1_mainmsgqueuesize.html">$MainMsgQueueSize</a></li> + <li><a href="rsconf1_moddir.html">$ModDir</a></li> <li><a href="rsconf1_modload.html">$ModLoad</a></li> <li><a href="rsconf1_repeatedmsgreduction.html">$RepeatedMsgReduction</a></li> <li><a href="rsconf1_resetconfigvariables.html">$ResetConfigVariables</a></li> @@ -525,6 +529,13 @@ framing and maximum compression to the host 192.168.0.1 at port 1470.</p> <p>In the example above, messages are forwarded via UDP to the machine 192.168.0.1, the destination port defaults to 514. Messages will not be compressed.</p> +<p><b>Note to sysklogd users:</b> sysklogd does <b>not</b> support RFC 3164 +format, which is the default forwarding template in rsyslog. As such, you will +experience duplicate hostnames if rsyslog is the sender and sysklogd is the +receiver. The fix is simple: you need to use a different template. Use that one:</p> +<p class="MsoPlainText">$template sysklogd,"<%PRI%>%TIMESTAMP% +%syslogtag%%msg%\""<br> +*.* @192.168.0.1;sysklogd</p> <h3>List of Users</h3> <p>Usually critical messages are also directed to ``root'' on that machine. You can specify a list of users that shall get the message by simply writing the login. |