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@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
______________________________________________________________________________
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