On a Linux server, there are numerous separate logs that contain vital information about your web server, mail server, database servers, and other important systems and services. While you could periodically check each log, this is time consuming and will not always identify the problems as they occur.
Logwatch is a free and open source software package for Linux that provides customizable log analysis. It collects the data from all of the logs you specify for a given amount of time and then provides a report of those logs.
Logwatch is available for installation in most Linux distribution repositories. In CentOS, logwatch is installed by default and should be configured and ready to go. For more information about using logwatch, type “man logwatch” from the command line or see the online documentation.