summaryrefslogtreecommitdiffstats
path: root/doc/imudp.html
diff options
context:
space:
mode:
authorFlorian Riedl <friedel@adiscon.com>2012-09-28 08:24:13 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-09-28 08:24:13 +0200
commitcf0fd87e17db12dd28edd260d02d0e5aa96deb71 (patch)
tree8c3fc0a484dff1196f9f22ef6cacdaa9c4ee06ab /doc/imudp.html
parent43da91636a5d8f60c21f1795d25fb0755e356d9f (diff)
downloadrsyslog-cf0fd87e17db12dd28edd260d02d0e5aa96deb71.tar.gz
rsyslog-cf0fd87e17db12dd28edd260d02d0e5aa96deb71.tar.xz
rsyslog-cf0fd87e17db12dd28edd260d02d0e5aa96deb71.zip
doc: update module doc to new config format
Diffstat (limited to 'doc/imudp.html')
-rw-r--r--doc/imudp.html55
1 files changed, 44 insertions, 11 deletions
diff --git a/doc/imudp.html b/doc/imudp.html
index ea985b60..3512d474 100644
--- a/doc/imudp.html
+++ b/doc/imudp.html
@@ -15,16 +15,13 @@
<p><b>Description</b>:</p>
<p>Provides the ability to receive syslog messages via UDP.
<p>Multiple receivers may be configured by specifying
-$UDPServerRun multiple times.
+multiple input actions.
</p>
+
<p><b>Configuration Directives</b>:</p>
+<p><b>Global Directives</b>:</p>
<ul>
-<li>$UDPServerAddress &lt;IP&gt;<br>
-local IP address (or name) the UDP listens should bind to</li>
-<li>$UDPServerRun &lt;port&gt;<br>
-former -r&lt;port&gt; option, default 514, start UDP server on this
-port, "*" means all addresses</li>
-<li>$UDPServerTimeRequery &lt;nbr-of-times&gt;<br>
+<li><b>TimeRequery</b> &lt;nbr-of-times&gt;<br>
this is a performance
optimization. Getting the system time is very costly. With this setting, imudp can
be instructed to obtain the precise time only once every n-times. This logic is
@@ -33,15 +30,51 @@ time calls should usually be acceptable. The default value is two, because we ha
seen that even without optimization the kernel often returns twice the identical time.
You can set this value as high as you like, but do so at your own risk. The higher
the value, the less precise the timestamp.
-<li>$InputUDPServerBindRuleset &lt;ruleset&gt;<br>
-Binds the listener to a specific <a href="multi_ruleset.html">ruleset</a>.</li>
-<li>$IMUDPSchedulingPolicy &lt;rr/fifo/other&gt;<br>
+<li><b>SchedulingPolicy</b> &lt;rr/fifo/other&gt;<br>
Can be used the set the scheduler priority, if the necessary functionality
is provided by the platform. Most useful to select "fifo" for real-time
processing under Linux (and thus reduce chance of packet loss). Available since 4.7.4+, 5.7.3+, 6.1.3+.
-<li>$IMUDPSchedulingPriority &lt;number&gt;<br>
+<li><b>SchedulingPriority</b> &lt;number&gt;<br>
Scheduling priority to use. Available since 4.7.4+, 5.7.3+, 6.1.3+.
</ul>
+<p><b>Action Directives</b>:</p>
+<ul>
+<li><b>Address</b> &lt;IP&gt;<br>
+local IP address (or name) the UDP listens should bind to</li>
+<li><b>Port</b> &lt;port&gt;<br>
+default 514, start UDP server on this port</li>
+<li><b>Ruleset</b> &lt;ruleset&gt;<br>
+Binds the listener to a specific <a href="multi_ruleset.html">ruleset</a>.</li>
+</ul>
+<b>Caveats/Known Bugs:</b>
+<ul>
+<li>currently none known</li>
+</ul>
+<p><b>Sample:</b></p>
+<p>This sets up an UPD server on port 514:<br>
+</p>
+<textarea rows="15" cols="60">module(load="/folder/to/rsyslog/plugins/imudp/.libs/imudp") # needs to be done just once
+input(type="imudp" port="514")
+</textarea>
+
+<p><b>Legacy Configuration Directives</b>:</p>
+<p>Multiple receivers may be configured by specifying
+$UDPServerRun multiple times.
+</p>
+<ul>
+<li>$UDPServerAddress &lt;IP&gt;<br>
+equivalent to: Address </li>
+<li>$UDPServerRun &lt;port&gt;<br>
+equivalent to: Port </li>
+<li>$UDPServerTimeRequery &lt;nbr-of-times&gt;<br>
+equivalent to: TimeRequery
+<li>$InputUDPServerBindRuleset &lt;ruleset&gt;<br>
+equivalent to: Ruleset </li>
+<li>$IMUDPSchedulingPolicy &lt;rr/fifo/other&gt;<br>
+equivalent to: SchedulingPolicy
+<li>$IMUDPSchedulingPriority &lt;number&gt;<br>
+equivalent to: SchedulingPriority
+</ul>
<b>Caveats/Known Bugs:</b>
<ul>
<li>currently none known</li>