rsyslog can log directly to a database backend. Cheers, Ken
On Mon, May 18, 2009 at 08:57:33PM +0530, Ashwin Muni wrote: > Thanks Luigi for the reply can you please tell me how to parse rsyslog > to get the desired results using pglogsumm. > > Thanks in Advance > > On Mon, May 18, 2009 at 5:07 PM, Luigi Rosa <li...@luigirosa.com> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Ashwin Muni said the following on 18/05/09 13:22: > >> I am using postfix 2.5. I am configuring a centralized log server > >> using rsyslog. Have anybody worked on it. Or any how to or rsyslog > >> template for doing it. I want logs to be inserted in MYSQL. > > > > You should parse rsyslog entries with an external program. > > > > You can also modify pglogsumm to put the values in a MySQL table instead of > > STDOUT > > > > > > > > > > Ciao, > > luigi > > > > - -- > > / > > +--[Luigi Rosa]-- > > \ > > > > The Wright Bothers weren't the first to fly. They were just the first not > > to crash. > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.9 (GNU/Linux) > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > > > iEYEARECAAYFAkoRSGIACgkQ3kWu7Tfl6ZRW5wCgzSmTO5LX6GmhZuPnrphOAPjn > > OywAoJtj4vAFEs7Pa9F6lfMn2DMksmPv > > =qi2f > > -----END PGP SIGNATURE----- > > > > > > -- > Ashwin R. >