mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-17 19:50:41 +01:00
36 lines
1.6 KiB
HTML
36 lines
1.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><title>Basic Structure - rsyslog.conf</title></head>
|
|
<body>
|
|
<p>This is a part of the rsyslog.conf documentation.</p>
|
|
<a href="rsyslog_conf.html">Back to rsyslog.conf manual</a>
|
|
<h1>Basic Structure</h1>
|
|
<p>Rsyslog supports standard sysklogd's configuration file format
|
|
and extends it. So in general, you can take a "normal" syslog.conf and
|
|
use it together with rsyslogd. It will understand everything. However,
|
|
to use most of rsyslogd's unique features, you need to add extended
|
|
configuration directives.</p>
|
|
<p>Rsyslogd supports the classical, selector-based rule lines.
|
|
They are still at the heart of it and all actions are initiated via
|
|
rule lines. A rule lines is any line not starting with a $ or the
|
|
comment sign (#). Lines starting with $ carry rsyslog-specific
|
|
directives.</p>
|
|
<p>Every rule line consists of two fields, a selector field and
|
|
an action field. These two fields are separated by one or more spaces
|
|
or tabs. The selector field specifies a pattern of facilities and
|
|
priorities belonging to the specified action.<br>
|
|
<br>
|
|
Lines starting with a hash mark ("#'') and empty lines are ignored.
|
|
</p>
|
|
|
|
<p>[<a href="manual.html">manual index</a>]
|
|
[<a href="rsyslog_conf.html">rsyslog.conf</a>]
|
|
[<a href="http://www.rsyslog.com/">rsyslog site</a>]</p>
|
|
<p><font size="2">This documentation is part of the
|
|
<a href="http://www.rsyslog.com/">rsyslog</a> project.<br>
|
|
Copyright © 2008-2010 by <a href="http://www.gerhards.net/rainer">Rainer Gerhards</a> and
|
|
<a href="http://www.adiscon.com/">Adiscon</a>. Released under the GNU GPL
|
|
version 3 or higher.</font></p>
|
|
</body>
|
|
</html>
|
|
|