<div dir="ltr"><div>Hi,<br><br></div>If you don&#39;t mind, can you pls share what kind of EMC box is this?<br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">-- <br>Bazsi<br></div></div></div>
<br><div class="gmail_quote">On Wed, Aug 31, 2016 at 3:25 PM, Alarie, Maxime <span dir="ltr">&lt;<a href="mailto:Alarie.Maxime@hydro.qc.ca" target="_blank">Alarie.Maxime@hydro.qc.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="FR-CA">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-CA">Thanks for the update guys.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-CA"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-CA">I know the version is  old,  problem is I cannot update it since it’s a black box and we would lose support from EMC.  Ill see what I can do.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-CA"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:35.4pt"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="FR">De :</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="FR"> <a href="mailto:syslog-ng-bounces@lists.balabit.hu" target="_blank">syslog-ng-bounces@lists.<wbr>balabit.hu</a> [mailto:<a href="mailto:syslog-ng-bounces@lists.balabit.hu" target="_blank">syslog-ng-bounces@<wbr>lists.balabit.hu</a>]
<b>De la part de</b> Scheidler, Balázs<br>
<b>Envoyé :</b> 31 août 2016 05:15<br>
<b>À :</b> Syslog-ng users&#39; and developers&#39; mailing list<br>
<b>Objet :</b> Re: [syslog-ng] Problem with syslog-ng version 2<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:106.2pt;text-align:center" align="center">
<b><span style="color:red">Courriel provenant de l’externe<br>
ATTENTION, avant d’accéder à une pièce jointe ou à un lien de ce courriel, assurez-vous que celui-ci provient d’un tiers de</span></b><span style="color:red">
<b>confiance.</b></span><u></u><u></u></p><div><div class="h5">
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt">
Well, older syslog-ng versions probably folowed the file as it was written, and if only  a partial line was present, it was assumed to be the entire message.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt">
Maybe the application is writing that file one-character at a time?<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt">
But I agree with Peter, 2.0.9 is probably a decade old, so in order to properly support your problems, you should definitely upgrade to something newer.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">-- <br>
Bazsi<u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">On Mon, Aug 29, 2016 at 8:48 PM, Alarie, Maxime &lt;<a href="mailto:Alarie.Maxime@hydro.qc.ca" target="_blank">Alarie.Maxime@hydro.qc.ca</a>&gt; wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729;background:white" lang="EN-CA">OS: SLes 11 sp4
</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729;background:white" lang="EN-CA">syslog-ng: syslog-ng-2.0.9-27.34.39.2</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729;background:white" lang="EN-CA"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Hi,</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">syslog-ng is configured to read from a application log file and then send it to another file in /var/log (tcpdump is not installed, I cant install it on a blackbox so
 this is how I test my config)</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">I have the following in my syslog-ng configuration file:</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt;background:#eff0f1">
<span style="font-size:10.0pt;font-family:Consolas;color:#242729;border:none windowtext 1.0pt;padding:0cm;background:#eff0f1" lang="EN-CA">source ESRS {</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt;background:#eff0f1">
<span style="font-size:10.0pt;font-family:Consolas;color:#242729;border:none windowtext 1.0pt;padding:0cm;background:#eff0f1" lang="EN-CA">file(&quot;/opt/esrsve/gateway/<wbr>xGate.log&quot;);</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt;background:#eff0f1">
<span style="font-size:10.0pt;font-family:Consolas;color:#242729;border:none windowtext 1.0pt;padding:0cm;background:#eff0f1">};</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt;background:#eff0f1">
<span style="font-size:10.0pt;font-family:Consolas;color:#242729;border:none windowtext 1.0pt;padding:0cm;background:#eff0f1"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt;background:#eff0f1">
<span style="font-size:10.0pt;font-family:Consolas;color:#242729;border:none windowtext 1.0pt;padding:0cm;background:#eff0f1">destination esrsfile{ file(&quot;/var/log/max.log&quot; );};</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt;background:#eff0f1">
<span style="font-size:10.0pt;font-family:Consolas;color:#242729;border:none windowtext 1.0pt;padding:0cm;background:#eff0f1"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt;background:#eff0f1">
<span style="font-size:10.0pt;font-family:Consolas;color:#242729;border:none windowtext 1.0pt;padding:0cm;background:#eff0f1"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt;background:#eff0f1">
<span style="font-size:10.0pt;font-family:Consolas;color:#242729;border:none windowtext 1.0pt;padding:0cm;background:#eff0f1"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt;background:#eff0f1">
<span style="font-size:10.0pt;font-family:Consolas;color:#242729;border:none windowtext 1.0pt;padding:0cm;background:#eff0f1">log { source(ESRS);</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt;background:#eff0f1">
<span style="font-size:10.0pt;font-family:Consolas;color:#242729;border:none windowtext 1.0pt;padding:0cm;background:#eff0f1">destination(esrsfile);</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt;background:#eff0f1">
<span style="font-size:10.0pt;font-family:Consolas;color:#242729;border:none windowtext 1.0pt;padding:0cm;background:#eff0f1" lang="EN-CA">};</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">The problem I am seeing is that when syslog writes to the outputfile (esrsfile) it truncatedthe lines.</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">ex: Source File : [ 0, 6, 1, 1007] 08-29-2016 13:56:28.703 IMPORTANT INFO EDDEMC: Data Item::PMStatus <b><span style="border:none windowtext 1.0pt;padding:0cm">Current
 Value::Offline</span></b></span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">And the destination file looiks like this:</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">... ...
</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname C</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname u</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname r</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname r</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname e</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname n</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname t</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname V</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname a</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname l</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname u</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname e</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname :</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname :</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname O</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname f</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname f</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname l</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname i</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname n</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Aug 29 14:00:02 hostname e</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">... ...</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">What am I doing wrong here?</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:35.4pt;line-height:14.65pt;background:white">
<span style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#242729" lang="EN-CA">Thanks much!</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt">
<span lang="EN-CA"> </span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt">
<br>
______________________________<wbr>______________________________<wbr>__________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" 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" 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" target="_blank">http://www.balabit.com/wiki/<wbr>syslog-ng-faq</a><br>
<br>
<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
</div>
</div>
</div></div></div>
</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>