maybe you want visit this excellent site: (for filtered view: http://www.loganalysis.org/) which discusses general strategies and also holds some (perl) programs for log analysis.
Comment on Re: How do I read a log file that contents recurring log messages those are separated by newline characters?