From caede8f6216a27d06c755698fb0056c32e60bcdb Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 1 Aug 2008 15:00:40 +0200 Subject: added $InputUnixListenSocketHostName config directive It permits to override the hostname being used on a local unix socket. This is useful for differentiating "hosts" running in several jails. Feature was suggested by David Darville, thanks for the suggestion. --- doc/imuxsock.html | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) (limited to 'doc/imuxsock.html') diff --git a/doc/imuxsock.html b/doc/imuxsock.html index ee367dbc..3beabe94 100644 --- a/doc/imuxsock.html +++ b/doc/imuxsock.html @@ -1,7 +1,7 @@ -Unix Socket Input - + +Unix Socket Input

Unix Socket Input

@@ -25,15 +25,30 @@ $InputUnixListenSocketIgnoreMsgTimestamp and $SystemLogSocketIgnoreMsgTimestamp +former -p option +
  • $AddUnixListenSocket <name-of-socket> adds additional unix socket, default none -- former -a option
  • +
  • $InputUnixListenSocketHostName <hostname> permits to override the hostname that +shall be used inside messages taken from the next $AddUnixListenSocket socket. Note that +the hostname must be specified before the $AddUnixListenSocket configuration directive, and it +will only affect the next one and then automatically be reset. This functionality is provided so +that the local hostname can be overridden in cases where that is desired.
  • + Caveats/Known Bugs:

    This documentation is sparse and incomplete.

    Sample:

    The following sample is the minimum setup required to accept syslog messages from applications running on the local system.

    - +

    The following sample is a configuration where rsyslogd pulls logs from two +jails, and assigns different hostnames to each of the jails:

    +

    [rsyslog.conf overview] [manual index] [rsyslog site]

    @@ -44,4 +59,4 @@ Copyright Gerhards and Adiscon. Released under the GNU GPL version 3 or higher.

    - \ No newline at end of file + -- cgit