From cadf16e7e941c5aa3e5a905df7ce7bf4988fd59b Mon Sep 17 00:00:00 2001
From: Rainer Gerhards
Date: Tue, 26 Mar 2013 11:12:10 +0100
Subject: imudp: support user-selectable inputname
---
doc/imudp.html | 62 ++++++++++++++++++++++++++++++++++++++++++++++------------
1 file changed, 50 insertions(+), 12 deletions(-)
(limited to 'doc/imudp.html')
diff --git a/doc/imudp.html b/doc/imudp.html
index a86c9939..6c949536 100644
--- a/doc/imudp.html
+++ b/doc/imudp.html
@@ -18,8 +18,8 @@
multiple input actions.
-Configuration Directives:
-Global Directives:
+Configuration Parameters:
+Module Parameters:
- TimeRequery <nbr-of-times>
this is a performance
@@ -37,7 +37,7 @@ processing under Linux (and thus reduce chance of packet loss).
- SchedulingPriority <number>
Scheduling priority to use.
-Action Directives:
+Input Parameters:
- Address <IP>
local IP address (or name) the UDP listens should bind to
@@ -54,6 +54,27 @@ of seconds (5 recommended) to activate rate-limiting.
- RateLimit.Burst [number] - (available since 7.3.1) specifies the rate-limiting
burst in number of messages. Default is 10,000.
+- InputName [name] - (available since 7.3.9) specifies the value of
+the inputname. In older versions, this was always "imudp" for all listeners,
+which still i the default.
+Starting with 7.3.9 it can be set to different values for each listener.
+Note that when a single input statement defines multipe listner ports, the
+inputname will be the same for all of them. If you want to differentiate in that
+case, use "InputName.AppendPort" to make them unique.
+Note that the "InputName" parameter can be an empty string. In that case, the
+corresponding inputname property will obviously also be the empty string. This
+is primarily meant to be used togehter with "InputName.AppendPort" to set the
+inputname equal to the port.
+
+- InputName.AppendPort [on/off] - (available since 7.3.9)
+appends the port the the inputname. Note that when no inputname is specified,
+the default of "imudp" is used and the port is appended to that default. So,
+for example, a listner port of 514 in that case will lead to an inputname
+of "imudp514". The ability to append a port is most useful when multiple ports
+are defined for a single input and each of the inputnames shall be unique.
+Note that there currently is no differentiation between IPv4/v6 listners on
+the same port.
+
Caveats/Known Bugs:
@@ -63,13 +84,33 @@ privilege drop. This may be worked around by using a sufficiently-privileged
user account.
-Sample:
+Samples:
This sets up an UPD server on port 514:
-