From 1deef18daa1b39035e42c8b1db68286727d8f950 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 29 Jan 2013 15:21:26 +0100 Subject: doc: give quick example of ruleset() {} use --- doc/rsyslog_conf_basic_structure.html | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc/rsyslog_conf_basic_structure.html') 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!).

There is detail documentation available for rsyslog rulesets. +

For quick reference, rulesets are defined as follows: +

+ruleset(name="rulesetname") {
+	action(type="omfile" file="/path/to/file")
+	action(type="..." ...)
+	/* and so on... */
+}
+

[manual index] [rsyslog.conf] -- cgit v1.2.3