I am developing  a  reporting application based on  syslog-ng log files,
this is a fw log file,
there is a  filter in syslog-ng definition matching the "teardown" keyword, then it writes to a pipe
and there is my perl  code running in background and parsing the logs and inserts to db,
 
when I check for the log file with grep -c -i teardown  and my db entries there is a difference of % 0.3
 
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?
 
 
any ideas??
 
and maximum log entries per second is around 500  and filetred results must be the half,,
 

Yüce  SUNGUR

Türkiye İş Bankası A.Ş.

Genel Müdürlük

Bilgi İşlem Müdürlüğü

İŞ Kuleleri Kule-1 Kat 3

34330 Levent/İstanbul

 

Tel: +90 (212) 316  88 49

Fax:+90 (212) 316  0938

Cep:+90  532   748  5466

Yuce.sungur@isbank.com.tr

 

 

 




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.
Çevresel sorumluluğumuz için lütfen çıktı almadan önce tekrar düşünün: Gerçekten bu çıktıya ihtiyacım var mı?

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.
Please consider your environmental responsibility again before printing: Ask yourself: Do I really need a hard copy?