<div dir="ltr"><div><div>Hello Shruthi Rao, <br><br></div>You are using an old version of syslog-ng. <br>Please upgrade it to the newer version. If the issue is still exist we can help easier.<br></div><div>You can find information about the installation of newer version to your system at:<br><a href="https://syslog-ng.gitbooks.io/getting-started/content/chapters/chapter_0/section_2.html">https://syslog-ng.gitbooks.io/getting-started/content/chapters/chapter_0/section_2.html</a><br></div><div>and at<br><a href="https://czanik.blogs.balabit.com/2015/09/balabits-syslog-ng-at-the-annual-susecon/">https://czanik.blogs.balabit.com/2015/09/balabits-syslog-ng-at-the-annual-susecon/</a><br><br></div><div>Best regards<br></div><div>Andras<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 9, 2015 at 1:48 PM, Shruthi Rao <span dir="ltr"><<a href="mailto:shruthirao5@gmail.com" target="_blank">shruthirao5@gmail.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="ltr"><br clear="all"><div><div>I have configured a destination in syslog to a tcp port on localhost</div><div><br></div><div><div>options { long_hostnames(off); sync(0); perm(0640); stats(3600); };</div></div><div><br></div><div><div>source src { internal(); unix-dgram("/dev/log"); udp(); };</div></div><div><br></div><div>destination mgagent{ tcp("127.0.0.1" port(5009) template("$TAG $HOST $PROGRAM $MSGONLY\n")); };</div><div><br></div><div>I have a tcp server n the localhost ,receiving logs on this port and it does further processing .</div><div><br></div><div>Whenever syslog-ng is reloaded or restarted and te tcp server is running , a flood of the logs is sent on this tcp port ( which is handled by the tcp server) , but this is not wanted. The logs which were already sent before restart is sent repeatedly . Is there any way to stop or prevent this .</div><div><br></div><div>syslog version is syslog-ng 2.0.9 on SLES 11 SP3</div><div><br></div><div>-Thanks</div></div>
</div>
<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>
<br></blockquote></div><br></div>