[syslog-ng] syslog() issue

Scheidler, Balázs balazs.scheidler at balabit.com
Tue Jun 9 07:01:49 CEST 2015


Add quotes around the ip address.
On Jun 9, 2015 12:56 AM, "westlake" <westlake2012 at videotron.ca> wrote:

> I'm not sure why i'm getting this error,
>
> output:
> syslog-ng --syntax-only
> Error parsing afsocket, syntax error, unexpected KW_IP, expecting
> LL_IDENTIFIER or LL_STRING in /etc/syslog-ng/syslog-ng.conf at line 31,
> column 9:
> syslog( ip(1.1.1.1) port(601) transport("tcp")  );
>
>
> mind me i'm new to syslog but i'm following the example from the online
> manual, not sure why this isn't working
>
> 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/20150609/409fcbad/attachment-0001.htm 


More information about the syslog-ng mailing list