<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-9">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=500593608-10102007><FONT face=Arial size=2>I am
developing a reporting application based on syslog-ng log
files,</FONT></SPAN></DIV>
<DIV><SPAN class=500593608-10102007><FONT face=Arial size=2>this is a fw log
file, </FONT></SPAN></DIV>
<DIV><SPAN class=500593608-10102007><FONT face=Arial size=2>there is a
filter in syslog-ng definition matching the "teardown" keyword, then it
writes to a pipe</FONT></SPAN></DIV>
<DIV><SPAN class=500593608-10102007><FONT face=Arial size=2>and there is my
perl code running in background and parsing the logs and inserts to
db,</FONT></SPAN></DIV>
<DIV><SPAN class=500593608-10102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=500593608-10102007><FONT face=Arial size=2>when I check for the
log file with grep -c -i teardown and my db entries there is a difference
of % 0.3</FONT></SPAN></DIV>
<DIV><SPAN class=500593608-10102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=500593608-10102007><FONT face=Arial size=2>you think
using program() in syslog-ng is more efficient than reading pipe,or instead of
reading a pipe and filtering with syslog-ng, I can tail with perl the log file,
and filter by perl?</FONT></SPAN></DIV>
<DIV><SPAN class=500593608-10102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=500593608-10102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=500593608-10102007><FONT face=Arial size=2>any
ideas??</FONT></SPAN></DIV>
<DIV><SPAN class=500593608-10102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=500593608-10102007><FONT face=Arial size=2>and maximum log
entries per second is around 500 and filetred results must be the
half,,</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=500593608-10102007> </SPAN></FONT></DIV>
<DIV class=Section1>
<P align=left><B><SPAN
style="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: Tahoma">Yüce
SUNGUR</SPAN></B></P>
<P class=MsoNormal><B><SPAN
style="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: Tahoma">Türkiye İş Bankası
A.Ş.</SPAN></B></P>
<P class=MsoNormal><B><SPAN
style="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: Tahoma">Genel
Müdürlük</SPAN></B></P>
<P class=MsoNormal><B><SPAN
style="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: Tahoma">Bilgi İşlem
Müdürlüğü</SPAN></B></P>
<P class=MsoNormal><B><SPAN
style="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: Tahoma">İŞ Kuleleri Kule-1 Kat
3</SPAN></B></P>
<P class=MsoNormal><B><SPAN
style="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: Tahoma">34330
Levent/İstanbul</SPAN></B></P>
<P class=MsoNormal><B><SPAN
style="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: Tahoma"></SPAN></B> </P>
<P class=MsoNormal><B><SPAN
style="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: Tahoma">Tel: +90 (212)
316 88 49</SPAN></B></P>
<P class=MsoNormal><B><SPAN
style="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: Tahoma">Fax:+90 (212) 316
0938</SPAN></B></P>
<P class=MsoNormal><B><SPAN
style="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: Tahoma">Cep:+90
532 748 5466</SPAN></B></P>
<P class=MsoNormal><B><SPAN
style="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: Tahoma"><A
href="mailto:Yuce.sungur@isbank.com.tr">Yuce.sungur@isbank.com.tr</A></SPAN></B></P>
<P class=MsoNormal><B><SPAN
style="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: Tahoma"></SPAN></B> </P>
<P class=MsoNormal><B><SPAN
style="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: Tahoma"></SPAN></B> </P></DIV>
<DIV> </DIV><p></p><p><br><br><br>Bu e-posta mesajı ve ekleri gönderildiği kişi ya da kuruma özeldir ve gizlidir. Ayrıca hukuken de gizli olabilir. Hiçbir şekilde üçüncü kişilere açıklanamaz ve yayınlanamaz. Mesajın yetkili alıcısı değilseniz hiçbir kısmını kopyalayamaz, başkasına gönderemez veya hiçbir şekilde kullanamazsınız. Eğer mesajın yetkili alıcısı veya yetkili alıcısına iletmekten sorumlu kişi siz değilseniz, lütfen mesajı sisteminizden siliniz ve göndereni uyarınız. Gönderen ve TÜRKİYE İŞ BANKASI A.Ş., bu mesajın içerdiği bilgilerin doğruluğu, bütünlüğü ve güncelliği konusunda bir garanti vermemektedir. Mesajın içeriğinden, iletilmesinden, alınmasından, saklanmasından, gizliliğinin korunamamasından, virüs içermesinden ve sisteminizde yaratabileceği zararlardan Bankamız sorumlu tutulamaz.<br> Çevresel sorumluluğumuz için lütfen çıktı almadan önce tekrar düşünün: Gerçekten bu çıktıya ihtiyacım var mı?<br> <br>This e-mail and its attachments are private and confidential to the exclusive use of the individual or entity to whom it is addressed. It may also be legally confidential. Any disclosure, distribution or other dissemination of this message to any third party is strictly prohibited. If you are not the intended recipient, you may not copy, forward, send or use any part of it. If you are not the intended recipient or the person who is responsible to transmit to the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message and its attachments. The sender and TURKIYE IS BANKASI A.S. do not warrant for the accuracy, currency, integrity or correctness of the information in the message and its attachments. TURKIYE IS BANKASI A.S. shall have no liability with regard to the information contained in the message, its transmission, reception, storage, preservation of confidentiality, viruses or any damages caused in anyway to your computer system.<br> Please consider your environmental responsibility again before printing: Ask yourself: Do I really need a hard copy?</BODY></HTML>