Logwatch is a Perl-based log management tool for analyzing, summarizing, and reporting on a server’s log files. It is most often used to send a short digest of server’s log activity to a system administrator.
What are log files? Logs are application-generated files useful for tracking down and understanding what has happened in the past.
As a matter of best practice we’ll update our packages:
yum -y update
Then let’s install Logwatch and any required packages:
yum -y install logwatch
Step 2: Configuration File Locations
Local Configuration Options can be found in:
Default Configuration Options can be found in:
It is best practice to leave the Default Configuration as is, and edit the Local Configuration option, which is under /etc as listed above.