<div dir="ltr"><div><div><div>Hi Evan!<br><br></div>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 <a href="https://github.com/balabit/syslog-ng/commit/edf0292c385e98b9cddc1879974e30939e0d95dd">https://github.com/balabit/syslog-ng/commit/edf0292c385e98b9cddc1879974e30939e0d95dd</a> , so from 3.5, you should use this escaping form.<br><br></div>BR,<br></div>Viktor<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 17, 2014 at 7:43 PM, Evan Rempel <span dir="ltr"><<a href="mailto:erempel@uvic.ca" target="_blank">erempel@uvic.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
I would like to place a $ character into the value of a tag/vlue pair using the patternDB<br>
but I can't find a way to do it. It seems that everything I have tried the patternDB engine<br>
interprets the $ as the start ov a variable expansion.<br>
<br>
Does anyone know if this can be done?<br>
An then the follow up question "How?"<br>
<br>
Thanks for your time.<br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div><br></div>