I have syslog ng writing to a mysql pipe and then a little script reading the pipe and writing to the db. I currently receive many messages like the following, I wonder if somenone can help me figure out what this message is saying..... thanks.
<br><br><br>| mailux | syslog&nbsp;&nbsp; | notice&nbsp;&nbsp; | notice | 2d&nbsp;&nbsp; | 2007-04-13 | 01:16:40 | syslog-ng | syslog-ng[30548]: Log statistics; dropped=&#39;pipe(/tmp/mysql.pipe)=0&#39;, processed=&#39;center(queued)=40295&#39;, processed=&#39;center(received)=13206&#39;, processed=&#39;destination(d_mysql)=40295&#39;, processed=&#39;source(net_tcp)=0&#39;, processed=&#39;source(src)=8962&#39;, processed=&#39;source(net_udp)=4244&#39;&nbsp; | 46674 |
<br><br><div><span class="gmail_quote">On 4/29/07, <b class="gmail_sendername"><a href="mailto:syslog-ng-request@lists.balabit.hu">syslog-ng-request@lists.balabit.hu</a></b> &lt;<a href="mailto:syslog-ng-request@lists.balabit.hu">
syslog-ng-request@lists.balabit.hu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send syslog-ng mailing list submissions to
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">
https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>or, via email, send a message with subject or body &#39;help&#39; to<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:syslog-ng-request@lists.balabit.hu">syslog-ng-request@lists.balabit.hu
</a><br><br>You can reach the person managing the list at<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:syslog-ng-owner@lists.balabit.hu">syslog-ng-owner@lists.balabit.hu</a><br><br>When replying, please edit your Subject line so it is more specific
<br>than &quot;Re: Contents of syslog-ng digest...&quot;<br><br><br>Today&#39;s Topics:<br><br>&nbsp;&nbsp; 1. Re:&nbsp;&nbsp;turn off case sensitivity for match regex filter<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Balazs Scheidler)<br>&nbsp;&nbsp; 2. Re:&nbsp;&nbsp;turn off case sensitivity for match regex filter (stucky)
<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Sat, 28 Apr 2007 12:42:06 +0200<br>From: Balazs Scheidler &lt;<a href="mailto:bazsi@balabit.hu">bazsi@balabit.hu
</a>&gt;<br>Subject: Re: [syslog-ng] turn off case sensitivity for match regex<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filter<br>To: Syslog-ng users&#39; and developers&#39; mailing list<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu
</a>&gt;<br>Message-ID: &lt;<a href="mailto:1177756926.14925.17.camel@bzorp.balabit">1177756926.14925.17.camel@bzorp.balabit</a>&gt;<br>Content-Type: text/plain<br><br>On Sat, 2007-04-28 at 01:52 -0700, stucky wrote:<br>&gt; Guys
<br>&gt;<br>&gt; Playing around with ng 2 and I started looking at the match filter<br>&gt; again.<br>&gt; Simple question that I cannot find an answer to anywhere on the net.<br>&gt; How do I turn off case sensitivity for the match target ?
<br>&gt; I&#39;d like the following line to match &quot;error&#39; or &#39;ERROR&#39; or &#39;Error&#39;<br>&gt;<br>&gt; filter logparse { match(&quot;error&quot;); };<br>&gt;<br>&gt; but of course it only matches &#39;error&#39; since by default regex is case
<br>&gt; sensitive.<br>&gt; Basically I&#39;m trying to emulate &#39;grep -i&#39;<br>&gt; I guess I could do this :<br>&gt;<br>&gt; filter logparse { match(&quot;[Ee][Rr][Rr][Oo][Rr]&quot;); }; but it&#39;d be soo<br>&gt; much simpler to turn off case sensitivity.
<br><br>Yes, you are right. But it&#39;s not currently possible. It should be<br>however, I&#39;ll try to add it in the nearfuture.<br><br>&gt;<br>&gt; And while we&#39;re talking regex. Shouldn&#39;t the above line actually read
<br>&gt; like this :<br>&gt;<br>&gt; filter logparse { match(&quot;.+error.+&quot;); }; ?<br>&gt;<br>&gt; meaning &quot;anything followed by &#39;error&#39; followed by anything&quot;<br>&gt; Both appear to work so I assume the first line is interpreted by
<br>&gt; syslog-ng like the second line correct ?<br><br>syslog-ng interprets &quot;match&quot; the same as grep, e.g. it does not care<br>where the pattern is found. if you want to match the beginning or the<br>end of line, you need to use explicit ^ and $ characters.
<br><br>--<br>Bazsi<br><br><br><br>------------------------------<br><br>Message: 2<br>Date: Sat, 28 Apr 2007 12:44:04 -0700<br>From: stucky &lt;<a href="mailto:stucky101@gmail.com">stucky101@gmail.com</a>&gt;<br>Subject: Re: [syslog-ng] turn off case sensitivity for match regex
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filter<br>To: &quot;Syslog-ng users&#39; and developers&#39; mailing list&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a>&gt;<br>Message-ID:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a href="mailto:30997e260704281244g6f1225bfwc7da2b4e05fdfd9f@mail.gmail.com">
30997e260704281244g6f1225bfwc7da2b4e05fdfd9f@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=&quot;utf-8&quot;<br><br>Baszi<br><br>Cool. I&#39;m in the middle of building a new infrastructure and would like to
<br>use this feature. I&#39;m not a programmer but I assume adding this feature<br>shouldn&#39;t be very hard at all right ?<br>If you had a rough ETA that&#39;d help me.<br><br>thx<br><br>On 4/28/07, Balazs Scheidler &lt;
<a href="mailto:bazsi@balabit.hu">bazsi@balabit.hu</a>&gt; wrote:<br>&gt;<br>&gt; On Sat, 2007-04-28 at 01:52 -0700, stucky wrote:<br>&gt; &gt; Guys<br>&gt; &gt;<br>&gt; &gt; Playing around with ng 2 and I started looking at the match filter
<br>&gt; &gt; again.<br>&gt; &gt; Simple question that I cannot find an answer to anywhere on the net.<br>&gt; &gt; How do I turn off case sensitivity for the match target ?<br>&gt; &gt; I&#39;d like the following line to match &quot;error&#39; or &#39;ERROR&#39; or &#39;Error&#39;
<br>&gt; &gt;<br>&gt; &gt; filter logparse { match(&quot;error&quot;); };<br>&gt; &gt;<br>&gt; &gt; but of course it only matches &#39;error&#39; since by default regex is case<br>&gt; &gt; sensitive.<br>&gt; &gt; Basically I&#39;m trying to emulate &#39;grep -i&#39;
<br>&gt; &gt; I guess I could do this :<br>&gt; &gt;<br>&gt; &gt; filter logparse { match(&quot;[Ee][Rr][Rr][Oo][Rr]&quot;); }; but it&#39;d be soo<br>&gt; &gt; much simpler to turn off case sensitivity.<br>&gt;<br>&gt; Yes, you are right. But it&#39;s not currently possible. It should be
<br>&gt; however, I&#39;ll try to add it in the nearfuture.<br>&gt;<br>&gt; &gt;<br>&gt; &gt; And while we&#39;re talking regex. Shouldn&#39;t the above line actually read<br>&gt; &gt; like this :<br>&gt; &gt;<br>&gt; &gt; filter logparse { match(&quot;.+error.+&quot;); }; ?
<br>&gt; &gt;<br>&gt; &gt; meaning &quot;anything followed by &#39;error&#39; followed by anything&quot;<br>&gt; &gt; Both appear to work so I assume the first line is interpreted by<br>&gt; &gt; syslog-ng like the second line correct ?
<br>&gt;<br>&gt; syslog-ng interprets &quot;match&quot; the same as grep, e.g. it does not care<br>&gt; where the pattern is found. if you want to match the beginning or the<br>&gt; end of line, you need to use explicit ^ and $ characters.
<br>&gt;<br>&gt; --<br>&gt; Bazsi<br>&gt;<br>&gt; _______________________________________________<br>&gt; syslog-ng maillist&nbsp;&nbsp;-&nbsp;&nbsp;<a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a><br>&gt; <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">
https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>&gt; Frequently asked questions at <a href="http://www.campin.net/syslog-ng/faq.html">http://www.campin.net/syslog-ng/faq.html</a><br>&gt;<br>&gt;<br><br><br>--<br>
stucky<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070428/c3bdb0f9/attachment.html">http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070428/c3bdb0f9/attachment.html
</a><br><br>------------------------------<br><br>_______________________________________________<br>syslog-ng maillist&nbsp;&nbsp;-&nbsp;&nbsp;<a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a><br><a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">
https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br><br><br>End of syslog-ng Digest, Vol 24, Issue 32<br>*****************************************<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>
Fabian Pucciarelli