summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-01-29 15:21:26 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-01-29 15:21:26 +0100
commit1deef18daa1b39035e42c8b1db68286727d8f950 (patch)
treefeff3acce19f5996d356f337da6bcf00db125f0c
parent3e3b746380c610fff39e16d0a73d4a4f3564af91 (diff)
downloadrsyslog-1deef18daa1b39035e42c8b1db68286727d8f950.tar.gz
rsyslog-1deef18daa1b39035e42c8b1db68286727d8f950.tar.bz2
rsyslog-1deef18daa1b39035e42c8b1db68286727d8f950.zip
doc: give quick example of ruleset() {} use
-rw-r--r--doc/rsyslog_conf_basic_structure.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/rsyslog_conf_basic_structure.html b/doc/rsyslog_conf_basic_structure.html
index 412540e3..00a700d4 100644
--- a/doc/rsyslog_conf_basic_structure.html
+++ b/doc/rsyslog_conf_basic_structure.html
@@ -81,6 +81,14 @@ a message comes in via that input, the "program" (ruleset) bound to it will be e
(but not any other!).
<p>There is detail documentation available for
<a href="multi_ruleset">rsyslog rulesets</a>.
+<p>For quick reference, rulesets are defined as follows:
+<pre>
+ruleset(name="rulesetname") {
+ action(type="omfile" file="/path/to/file")
+ action(type="..." ...)
+ /* and so on... */
+}
+</pre>
<p>[<a href="manual.html">manual index</a>]
[<a href="rsyslog_conf.html">rsyslog.conf</a>]