Gergely, Thank you. It worked. Regards, j On Wed, Apr 18, 2012 at 1:26 AM, Gergely Nagy <algernon@balabit.hu> wrote:
Jerome Yanga <jerome.yanga@gmail.com> writes:
Please be nice as I am still a newbee. I was able to create a syslog-ng server that recieves syslogs from a number of servers. However, i would need to relay some logs from specific hosts to another syslog-ng server to make it available to others. Can someone help me with a sample config?
Something along these lines should get you started:
source s_network { udp(); }; filter f_somehosts { host("somehost"); }; destination d_remote { udp("relayhost"); }; log { source(s_network); filter(f_somehosts); destination(d_remote); };
-- |8]
______________________________________________________________________________ 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