<p dir="ltr">Yup, with recent versions you can also do the entire thing as a single statement:</p>
<p dir="ltr">log { source { tcp(); }; destination { tcp (&quot;server&quot;); };<br>
};</p>
<p dir="ltr">Notice the curly braces.</p>
<div class="gmail_quote">On Apr 22, 2016 6:07 PM, &quot;Scot Needy&quot; &lt;<a href="mailto:scotrn@gmail.com">scotrn@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
What’s the best way to forward all syslog data to another syslog-ng ?<br>
<br>
simple think like this with some options?<br>
<br>
log { source(s_net);<br>
          destination (d_sysmaster);<br>
 };<br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div>