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 +++++++++++++++++++++------ doc/manual.html | 2 +- 2 files changed, 22 insertions(+), 7 deletions(-) (limited to 'doc') 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 + diff --git a/doc/manual.html b/doc/manual.html index a41c44e0..417ef35f 100644 --- a/doc/manual.html +++ b/doc/manual.html @@ -16,7 +16,7 @@ relay chains while at the same time being very easy to setup for the novice user. And as we know what enterprise users really need, there is also professional rsyslog support available directly from the source!

    -

    This documentation is for version 3.21.1 (devel branch) of rsyslog. +

    This documentation is for version 3.21.2 (devel branch) of rsyslog. Visit the rsyslog status page to obtain current version information and project status.

    If you like rsyslog, you might -- cgit