[syslog-ng] placing dollar sign into patterdb tag values

Tusa Viktor tusavik at gmail.com
Mon Nov 17 20:25:27 CET 2014


Hi Evan!

You can use the double dollar sign ($$) to escape dollar sign in templates
(and thus in patternd actions or values). It has been changed in patch
https://github.com/balabit/syslog-ng/commit/edf0292c385e98b9cddc1879974e30939e0d95dd
, so from 3.5, you should use this escaping form.

BR,
Viktor

On Mon, Nov 17, 2014 at 7:43 PM, Evan Rempel <erempel at uvic.ca> wrote:

>
>
> I would like to place a $ character into the value of a tag/vlue pair
> using the patternDB
> but I can't find a way to do it. It seems that everything I have tried the
> patternDB engine
> interprets the $ as the start ov a variable expansion.
>
> Does anyone know if this can be done?
> An then the follow up question "How?"
>
> Thanks for your time.
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20141117/b832fad0/attachment.htm 


More information about the syslog-ng mailing list