Email daily slow queries / Apache Error logs

Discussion in 'Server Operation' started by PranK, Oct 20, 2007.

  1. PranK

    PranK New Member

    Hi All,

    I have been looking for a script for the last few days that will parse the contents of the mysql slow query log and maybe the httpd error logs into an email and send them daily.

    Does anyone know of such a script? I'm sure I can write a script to attach the files to an email and send it, but considering my slow query log files (yes, plural) are all ~1GB in size, I dont like my chances. :D

    Thanks in advance!

    Christian
     

Share This Page