As a first step (and because I needed something to do decent testing ;)) I
have implemented a new module omuxsock which now can natively write to unix
domain sockets. That should close part of the gap that was discussed here.

I hope I will find time to look at imuxsock and the hostname parsing code
next week (but that will be *very* busy).

Doc:
http://www.rsyslog.com/doc/omuxsock.html

v4 Commit (v5 also already merged):
http://git.adiscon.com/?p=rsyslog.git;a=commitdiff;h=80ff634c841d692c1d9f335b
88e225d6ce7317f7

I plan to remove this plugin next week with the upcoming v5 beta.

Rainer

> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of Rainer Gerhards
> Sent: Thursday, August 05, 2010 5:52 PM
> To: rsyslog-users
> Subject: Re: [rsyslog] log forwarding through unix sockets
> 
> > -----Original Message-----
> > From: [email protected] [mailto:rsyslog-
> > [email protected]] On Behalf Of [email protected]
> > Sent: Thursday, August 05, 2010 5:50 PM
> > To: rsyslog-users
> > Subject: Re: [rsyslog] log forwarding through unix sockets
> >
> > On Thu, 5 Aug 2010, Rainer Gerhards wrote:
> >
> > > Just some more information for anyone interested. I today looked at
> > the
> > > module. First of all, there is a directive to set the hostname
> > > ($InputUnixListenSocketHostName) but I also found out that there
> > exist
> > > undocumented functionality to activate hostname parsing. In theory,
> > this is
> > > done by putting a colon in front of the socket name. In practice,
> > there seems
> > > to be a bug that prevents this from working at all (the colon is
> not
> > > removed). So it probably was good this was not documented ;)
> >
> > so if you use a socket name that starts with a colon it should work
> > right?
> > ;-)
> 
> indeed... ;) [but I've not yet tested it, right now thinking about
> creating
> an automated test...]
> 
> Rainer
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to