[syslog-ng] Error while configuring destination for network

Girish Kumar girish.kumar at al-enterprise.com
Sun Feb 28 11:05:48 CET 2016


Hi  All,

In the conf  file I have  added destination as  network. But I am getting following error while spawning the syslog-ng .

Could you please help me on this

[root at localhost vsabarin]# /sbin/syslog-ng
Error parsing afsocket, syntax error, unexpected KW_IP, expecting LL_IDENTIFIER or LL_STRING in /etc/syslog-ng/syslog-ng.conf at line 12, column 32:

destination d_network { syslog(ip("135.254.163.151") transport("tcp")); };


My syslog-ng.conf file

@version:3.7
@include "scl.conf"

source s_local {
    internal();
};

destination d_network { syslog(ip("135.254.163.151") transport("tcp")); };

destination d_local {
    file("/var/log/messagesgiri");
};

log {
    source(s_local);
     destination(d_local);
   destination d_network);
};

Regards,
Girish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20160228/5bb538d3/attachment.htm 


More information about the syslog-ng mailing list