Skip to content

Rsyslog Configuration File

Esfand edited this page Sep 10, 2013 · 7 revisions

rsyslog.conf configuration file

rsyslog.conf configuration file

Rsyslog is configured via the rsyslog.conf file, typically found in /etc. By default, rsyslogd reads the file /etc/rsyslog.conf. This may be changed by command line option "-f".

Configuration file examples can be found in the rsyslog wiki. Also keep the rsyslog config snippets on your mind. These are ready-to-use real building blocks for rsyslog configuration.

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="doc-features.html">enhanced features</a> require a different config file syntax, rsyslogd should be able to work with a standard syslog.conf file. This is especially useful while you are migrating from syslogd to rsyslogd.

Follow the links below to learn more about specific topics:

  • <li><a href="rsyslog_conf_basic_structure.html">Basic Structure</a></li>

  • <li><a href="rsyslog_conf_modules.html">Modules</a></li>

  • <li><a href="rsyslog_conf_templates.html">Templates</a></li>

  • <li><a href="rsyslog_conf_filter.html">Filter Conditions</a></li>

  • <li><a href="rsyslog_conf_actions.html">Actions (legacy format)</a></li>

  • <li><a href="rsyslog_conf_output.html">Output Channels</a></li>

  • <li><a href="rsyslog_conf_examples.html">Examples</a></li>

  • <li><a href="rsyslog_conf_global.html">Legacy Configuration Directives</a></li>

  • <li><a href="rsyslog_conf_sysklogd_compatibility.html">sysklogd compatibility</a></li>


This documentation is part of the <a href="http://www.rsyslog.com/">rsyslog</a> project.
Copyright © 2008-2013 by Rainer Gerhards and Adiscon. Released under the GNU GPL version 3 or higher.

Clone this wiki locally