[syslog-ng] substr function issues

Scheidler, Balázs balazs.scheidler at balabit.com
Tue Jun 16 22:27:00 CEST 2015


Maybe the set expression wasnt enclosed in apostrophes/quotes?
On Jun 16, 2015 10:29, "westlake" <westlake2012 at videotron.ca> wrote:

> I'm stumped on a little problem with syslog-ng, basically what I'm
> trying to do is extract text from a string and place that into a new macro,
> eg
> -> set($(substr ${MSG} 7 12), value("${MACRO");
>
> here the syntax checker stops short around the first dollar sign and i'm
> not sure how else I can apply this.
>
> thanks
>
> ______________________________________________________________________________
> 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/20150616/443e020d/attachment.htm 


More information about the syslog-ng mailing list