diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-08-05 14:27:37 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-08-05 14:27:37 +0200 |
commit | 27678dc430ffc39ff1db774f47e5c367de4d3408 (patch) | |
tree | af4485a5a8fc8171732036017a576b345a0f4040 /doc | |
parent | 1b1b6b85e66281939a31685254565845d8d192a0 (diff) | |
download | rsyslog-27678dc430ffc39ff1db774f47e5c367de4d3408.tar.gz rsyslog-27678dc430ffc39ff1db774f47e5c367de4d3408.tar.xz rsyslog-27678dc430ffc39ff1db774f47e5c367de4d3408.zip |
minor bug fixes
- doc for pmlastmsg and ruleset parsers were hard to read
- pmrfc3164sd had wrong name
Diffstat (limited to 'doc')
-rw-r--r-- | doc/pmlastmsg.html | 4 | ||||
-rw-r--r-- | doc/rsconf1_rulesetparser.html | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/doc/pmlastmsg.html b/doc/pmlastmsg.html index 397016df..2abeac6a 100644 --- a/doc/pmlastmsg.html +++ b/doc/pmlastmsg.html @@ -36,10 +36,10 @@ should be used. Note that when a parser is specified, the default parser chain is removed, so we need to specify all three parsers. We use this together with the default ruleset. </p> -<textarea rows="15" cols="80">$ModLoad pmlastline # this parser is NOT a built-in module +<textarea rows="15" cols="80">$ModLoad pmlastmsg # this parser is NOT a built-in module # note that parser are tried in the -# order they appear in rsyslog.conf, so put pmlastline first +# order they appear in rsyslog.conf, so put pmlastmsg first $RulesetParser rsyslog.lastline # as we have removed the default parser chain, we # need to add the default parsers as well. diff --git a/doc/rsconf1_rulesetparser.html b/doc/rsconf1_rulesetparser.html index 84350431..ef29c2a8 100644 --- a/doc/rsconf1_rulesetparser.html +++ b/doc/rsconf1_rulesetparser.html @@ -9,7 +9,7 @@ <p><b>Type:</b> ruleset-specific configuration directive</p> <p><b>Parameter Values:</b> string</p> <p><b>Available since:</b> 5.3.4+</p> -<p><b>Default:</b> rsyslog.rfc5424;rsyslog.rfc5425</p> +<p><b>Default:</b> rsyslog.rfc5424 followed by rsyslog.rfc5425</p> <p><b>Description:</b></p> <p> This directive permits to specify which @@ -37,7 +37,7 @@ messages that are malformed in various ways. The route to take then is <li>make sure you find a custom parser for that device; if there is no one, you may consider writing one yourself (it is not that hard) or getting one written as part of -<a href="http://www.rsyslog.com/professional-servcies">Adiscon's professional services +<a href="http://www.rsyslog.com/professional-services">Adiscon's professional services for rsyslog</a>. <li>load your custom parsers via $ModLoad <li>create a ruleset for each malformed format; assign the custom parser to it @@ -104,6 +104,10 @@ $UDPServerRun 10514 $InputUDPServerBindRuleset maldev2 $UDPServerRun 10515 </textarea> + +<p>For an example of how multiple parser can be chained (and an actual use case), please see +the example section on the <a href="pmlastmsg.html">pmlastmsg</a> parser +module. <p>Note the positions of the directives. With the current config language, <b>sequence of statements is very important</b>. This is ugly, but unfortunately the way it currently works. |