[syslog-ng] Can't seem to do a simple parse

system at ra-schaal.de system at ra-schaal.de
Fri Sep 21 20:43:15 CEST 2012


                        <pattern>@STRING:mystring: @</pattern>
> 
> Results from logger "INSERT INTO Test (id, value) VALUES (1, .044212)"
> on client are:
> 
> Value of ${mystring} is null.  What am I missing?

@STRING@ doesn´t include any whitespace.

To get the complete message, use @ANYSTRING at . Otherwise have a look at
@ESTRING@ and @QSTRING@

regards
florian


More information about the syslog-ng mailing list