<p dir="ltr">Maybe the set expression wasnt enclosed in apostrophes/quotes?</p>
<div class="gmail_quote">On Jun 16, 2015 10:29, &quot;westlake&quot; &lt;<a href="mailto:westlake2012@videotron.ca">westlake2012@videotron.ca</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m stumped on a little problem with syslog-ng, basically what I&#39;m<br>
trying to do is extract text from a string and place that into a new macro,<br>
eg<br>
-&gt; set($(substr ${MSG} 7 12), value(&quot;${MACRO&quot;);<br>
<br>
here the syntax checker stops short around the first dollar sign and i&#39;m<br>
not sure how else I can apply this.<br>
<br>
thanks<br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div>