[syslog-ng] QSTRING with @

Matthew Hall mhall at mhcomputing.net
Thu Sep 30 17:47:31 CEST 2010


On Thu, Sep 30, 2010 at 04:29:25PM +0200, Peter Czanik wrote:
> Thanks. Any idea how could this be solved here:
> 
> <pattern>(czanik at 192.168.2.52) [INFO] Logout.</pattern>
> 
> "czanik" is a username here, but that might use other characters, not
> just letters and numbers.
> 
> Well, QSTRING or ESTRING does not work here, but I found the necessary
> information in "man useradd":
> "
>        The  account  name must begin with an alphabetic character and
> the rest
>        of the string should be from the POSIX portable character class
> ([A-Za-
>        z_][A-Za-z0-9_-.]*[A-Za-z0-9_-.$]).
> "
> So it can be solved with: @STRING::_-.$@

I have also seen '+' and '\' used on UNIX PCs with Windows AD auth 
configured, to specify the domain.

> > It would be good if this could be fixed somehow.
> Forwarded to the documentation team.
Awesome! Thank you for doing that.

> Bye,
> CzP

Regards,
Matthew.


More information about the syslog-ng mailing list