Granted I haven&#39;t used Kiwi in a few years and I&#39;m sure it&#39;s much better than it was (I hear they finally added multi-core support), but if you&#39;ve got under 50,000 events per second, couldn&#39;t you just go <br>

<br>
<tt>[9000 originating devices] -&gt; </tt><tt>[1 syslog-ng server] -&gt; </tt><tt>[4 RSA Envision collectors]</tt><br><br>or, if you&#39;ve really got that many events, <br><br>
<tt>[9000 originating devices] -&gt; </tt><tt>[F5 load balancer] -&gt; </tt><tt>[2 syslog-ng servers] -&gt; </tt><tt>[4 RSA Envision collectors]</tt><br><br>in short, what do you need the Kiwi servers for?  Also, I&#39;m using Cisco server load balancing (available in many IOS versions) to distribute logs across multiple Syslog-NG instances, and it works very well for providing both load balancing and high availability.  That may save you from having to use the F5 if you&#39;re not using it for anything else.<br>

<br>--Martin<br><br><div class="gmail_quote">On Fri, Oct 30, 2009 at 8:59 AM,  <span dir="ltr">&lt;<a href="mailto:Phil.Newlon@wendysarbys.com">Phil.Newlon@wendysarbys.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>
<p><tt>The netmask() filter won&#39;t work for me because I have forwarding devices between the originating devices and the syslog-ng server.</tt><br>
<br>
<tt>[9000 originating devices] -&gt; [F5 load balancer] -&gt; [8 kiwi syslog servers] -&gt; [1 syslog-ng server]</tt><br>
<tt>                                                                            -&gt; [4 RSA Envision collectors]</tt><br>
<br>
<tt>netmask() sees the eight kiwi servers, not the originating device.  I need to distribute the 9000 originating devices across the four RSA devices, so the only way I can see to do that is with a match(IP regex).</tt><br>


<br>
<tt>Thanks,</tt><br>
<br>
<tt>Phil</tt><br>
<br>
<br>
<img src="cid:1__=0ABBFCCCDFDB3A978f9e8a93df938@wendys.com" alt="Inactive hide details for Robert Fekete ---10/30/2009 06:21:16 AM---Hi, I don&#39;t know much about regexps, but couldn&#39;t you cover" height="16" width="16" border="0"><font color="#424282">Robert Fekete ---10/30/2009 06:21:16 AM---Hi, I don&#39;t know much about regexps, but couldn&#39;t you cover this with the netmask()</font><br>


<br>

</p><table cellpadding="0" cellspacing="0" width="100%" border="0">
<tbody><tr valign="top"><td width="1%"><img src="cid:2__=0ABBFCCCDFDB3A978f9e8a93df938@wendys.com" alt="" height="1" width="96" border="0"><br>
<font size="2" color="#5f5f5f">From:</font></td><td width="100%"><img src="cid:2__=0ABBFCCCDFDB3A978f9e8a93df938@wendys.com" alt="" height="1" width="1" border="0"><br>
<font size="2">Robert Fekete &lt;<a href="mailto:frobert@balabit.com" target="_blank">frobert@balabit.com</a>&gt;</font></td></tr>

<tr valign="top"><td width="1%"><img src="cid:2__=0ABBFCCCDFDB3A978f9e8a93df938@wendys.com" alt="" height="1" width="96" border="0"><br>
<font size="2" color="#5f5f5f">To:</font></td><td width="100%"><img src="cid:2__=0ABBFCCCDFDB3A978f9e8a93df938@wendys.com" alt="" height="1" width="1" border="0"><br>
<font size="2">Syslog-ng users&#39; and developers&#39; mailing list &lt;<a href="mailto:syslog-ng@lists.balabit.hu" target="_blank">syslog-ng@lists.balabit.hu</a>&gt;</font></td></tr>

<tr valign="top"><td width="1%"><img src="cid:2__=0ABBFCCCDFDB3A978f9e8a93df938@wendys.com" alt="" height="1" width="96" border="0"><br>
<font size="2" color="#5f5f5f">Date:</font></td><td width="100%"><img src="cid:2__=0ABBFCCCDFDB3A978f9e8a93df938@wendys.com" alt="" height="1" width="1" border="0"><br>
<font size="2">10/30/2009 06:21 AM</font></td></tr>

<tr valign="top"><td width="1%"><img src="cid:2__=0ABBFCCCDFDB3A978f9e8a93df938@wendys.com" alt="" height="1" width="96" border="0"><br>
<font size="2" color="#5f5f5f">Subject:</font></td><td width="100%"><img src="cid:2__=0ABBFCCCDFDB3A978f9e8a93df938@wendys.com" alt="" height="1" width="1" border="0"><br>
<font size="2">Re: [syslog-ng] problem with matching IP address and \d regex        operand</font></td></tr>
</tbody></table>
<hr style="color: rgb(128, 145, 165);" noshade size="2" width="100%" align="left"><div><div></div><div class="h5"><br>
<br>
<br>
<tt>Hi,<br>
<br>
I don&#39;t know much about regexps, but couldn&#39;t you cover this with the netmask()<br>
filter?<br>
<br>
Regards,<br>
<br>
Robert<br>
<br>
<a href="mailto:Phil.Newlon@wendysarbys.com" target="_blank">Phil.Newlon@wendysarbys.com</a> wrote:<br>
<br>
&gt; <br>
&gt; I am using this regular expression with Kiwi Syslog to distribute messages<br>
&gt; to several destinations based on the last number of the third octet (0-4<br>
&gt; goes one place, 5-9 goes another).<br>
&gt; <br>
&gt;      &quot;10\.\d+\.\d*[0-4]\.&quot;<br>
&gt; <br>
&gt; This doesn&#39;t work with syslog-ng, of course, but based on my research of<br>
&gt; the archives, this should do the same thing because I&#39;ve escaped the &quot;\d&quot;<br>
&gt; <br>
&gt;      match(&quot;10\.\\d+\.\\d*[0-4]\.&quot;)<br>
&gt; <br>
&gt; Nope, I get nothing.  I&#39;ve shortened it to just<br>
&gt; <br>
&gt;      match(&quot;10\.\\d+&quot;)<br>
&gt; <br>
&gt; and still get no matching messages.<br>
&gt; <br>
&gt; This sort of works, but gives some unexpected results:<br>
&gt; <br>
&gt;      match(&quot;10\.[0-9]+\.[0-9]*[0-4]\.&quot;)<br>
&gt; <br>
&gt; The match(&quot;10\.[0-9]+\.[0-9]*[0-4]\.&quot;) statement resulted in &#39;true&#39; on this<br>
&gt; log message.  I didn&#39;t expect a match on 10.87.48.4 from it because of the<br>
&gt; &#39;8&#39; as the last number of the third octet not matching &#39;0-4&#39;<br>
&gt; <br>
&gt; Oct 29 16:31:20 10.87.48.4 Kiwi_Syslog_Daemon Oct 29 16:31:20 10.87.48.4<br>
&gt; MSWinEventLog  0       Security        71000   Thu Oct 29 16:31:17 2009<br>
&gt; 538     Security        pos     User    Success Audit   POS0408748<br>
&gt; Logon/Logoff            User Logoff:     User Name: pos     Domain:<br>
&gt; POS0408748     Logon ID:  (0x0,0x4ACB69)     Logon Type: 3         42921033<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; So, I have two questions.....<br>
&gt; <br>
&gt; What&#39;s wrong with this:<br>
&gt; <br>
&gt;      match(&quot;10\.\\d+\.\\d*[0-4]\.&quot;)<br>
&gt; <br>
&gt; And why did this<br>
&gt;    match(&quot;10\.[0-9]+\.[0-9]*[0-4]\.&quot;)<br>
&gt; match this<br>
&gt;      Oct 29 16:31:20 10.87.48.4 Kiwi_Syslog_Daemon Oct 29 16:31:20<br>
&gt; 10.87.48.4 MSWinEventLog  0       Security        71000   Thu Oct 29<br>
&gt; 16:31:17 2009        538     Security        pos     User    Success Audit<br>
&gt; POS0408748      Logon/Logoff            User Logoff:     User Name: pos<br>
&gt; Domain:  POS0408748     Logon ID:  (0x0,0x4ACB69)     Logon Type: 3<br>
&gt; 42921033<br>
&gt; <br>
&gt; Thanks!<br>
&gt; <br>
&gt; Phil<br>
&gt; &lt;span style=&quot;font-size:78%;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;strong&gt;Notice:&lt;/strong&gt; This e-mail message and its attachments are the property of Wendy&#39;s/Arby&#39;s Group Inc. &lt;/span&gt;<br>


&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;or one of its subsidiaries and may contain confidential or legally privileged information intended&lt;/span&gt;<br>
&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;solely for the use of the addressee(s). If you are not an intended recipient, then any use, copying or&lt;/span&gt;<br>
&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;distribution of this message or its attachments is strictly prohibited. If you received this message in&lt;/span&gt;<br>
&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;error, please notify the sender and delete this message entirely from your system.&lt;/span&gt;&lt;/span&gt;<br>
&gt; <br>
&gt; <br>
&gt; ------------------------------------------------------------------------<br>
&gt; <br>
&gt; ______________________________________________________________________________<br>
&gt; Member info: </tt><tt><a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a></tt><tt><br>
&gt; Documentation: </tt><tt><a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a></tt><tt><br>
&gt; FAQ: </tt><tt><a href="http://www.campin.net/syslog-ng/faq.html" target="_blank">http://www.campin.net/syslog-ng/faq.html</a></tt><tt><br>
&gt; <br>
<br>
<br>
<br>
<br>
______________________________________________________________________________<br>
Member info: </tt><tt><a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a></tt><tt><br>
Documentation: </tt><tt><a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a></tt><tt><br>
FAQ: </tt><tt><a href="http://www.campin.net/syslog-ng/faq.html" target="_blank">http://www.campin.net/syslog-ng/faq.html</a></tt><tt><br>
<br>
</tt><br>
<br>
</div></div></div>

<pre><span style="font-size: 78%;"><span style="font-family: arial;"><b>Notice:</b> This e-mail message and its attachments are the property of Wendy&#39;s/Arby&#39;s Group Inc. </span><div class="im">
<span style="font-family: arial;">or one of its subsidiaries and may contain confidential or legally privileged information intended</span>
</div><div class="im"><span style="font-family: arial;">solely for the use of the addressee(s). If you are not an intended recipient, then any use, copying or</span>
</div><div class="im"><span style="font-family: arial;">distribution of this message or its attachments is strictly prohibited. If you received this message in</span>
</div><div class="im"><span style="font-family: arial;">error, please notify the sender and delete this message entirely from your system.</span></div></span>

</pre><br>______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.campin.net/syslog-ng/faq.html" target="_blank">http://www.campin.net/syslog-ng/faq.html</a><br>
<br>
<br></blockquote></div><br>