Yup, with recent versions you can also do the entire thing as a single statement:

log { source { tcp(); }; destination { tcp ("server"); };
};

Notice the curly braces.

On Apr 22, 2016 6:07 PM, "Scot Needy" <scotrn@gmail.com> wrote:

What’s the best way to forward all syslog data to another syslog-ng ?

simple think like this with some options?

log { source(s_net);
          destination (d_sysmaster);
 };
______________________________________________________________________________
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