<div dir="ltr">Hi, <div><br></div><div>No, you can't have both listen on the same port. </div><div>Basically, the network() driver is for RFC3164-formatted messages, while the syslog() driver is for RFC5424-formatted messages. (To complicate things, the network() driver has a syslog-protocol flag to receive RFC5424-formatted messages, but the on-wire format is not entirely the same (no framing, AFAIK), so they are not compatible.)</div><div><br></div><div>Basically, using matching drivers between the clients-server works best, see <a href="https://www.balabit.com/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/concepts-things-to-consider.html">https://www.balabit.com/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/concepts-things-to-consider.html</a></div><div><br></div><div>To receive different types of messages on the server, it is usually best to send the different messages to separate ports.</div><div><br></div><div>Regards, </div><div><br></div><div>Robert</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 22, 2017 at 2:44 PM, 'Miah Lang' via SYSLOG-NG <span dir="ltr"><<a href="mailto:syslog-ng@balabit.com" target="_blank">syslog-ng@balabit.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><br></div><blockquote type="cite">
<div class="m_8053553903112389628WordSection1">
<p class="MsoNormal"><span style="color:#1f497d">I’m having trouble determining when you would use the network() source vs the syslog() source?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">We have logs coming in on TCP port 514 from network devices, would it be best to use the network() source for this? Can you setup both the network() and syslog() sources to listen on TCP port 514 or would that
cause issues?<u></u><u></u></span></p>
<p class="MsoNormal"><br></p></div></blockquote></div><br>______________________________<wbr>______________________________<wbr>__________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/<wbr>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/<wbr>support/documentation/?<wbr>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/<wbr>syslog-ng-faq</a><br>
<br>
<br></blockquote></div><br></div>