[syslog-ng] Forward slashes in QSTRING
syslog-ng-list at michaelstarks.com
Fri Jun 22 05:31:13 CEST 2012
On 06/19/2012 11:24 AM, Martin Holste wrote:
> If you know this will be the rest of the message, you can use a
> capturing @ANYSTRING:var:@ to grab everything left in the message.
Thanks. I have tried @ANYSTRING@ but as I suspected it starts matching
on the first / since the pattern is being read left-to-right. What ends
up happening is that the entire file path is included. I still don't see
a way to capture everything between the last / and the ' without knowing
in advance how deep the path will be.
More information about the syslog-ng