[syslog-ng] Forward slashes in QSTRING

Michael Starks syslog-ng-list at michaelstarks.com
Sun Jun 24 07:09:46 CEST 2012


On 06/24/2012 12:01 AM, Michael Starks wrote:
> On 06/21/2012 11:32 PM, Evan Rempel wrote:
>> can you try this
>>
>> "@STRING::/@/@STRING:lastName:-._@"
>>
>> This should match alphanumerics including / but followed by a / and a string of alphanumerics including -._that does not include a / and then followed by a space (I forget what your original text to match on looks like.
>>
>> Evan
>
> Thanks, but I haven't had much luck with it. I'll try variations of this
> unless someone can see something I am missing.

Actually, this may be a non-issue for me. It seems that ELSA (the reason 
for doing this) sees / as a delimiter for indexing, so I can search the 
index for individual filenames easily. Still, it would be nice to 
understand how to extract the filename in a path in syslog-ng.


More information about the syslog-ng mailing list