Customize LogWatch

Logwatch is a customizable log analysis system.
Logwatch parses through your system’s logs for a given period of time and creates a report analyzing areas that you specify, in as much detail as you require. Logwatch is easy to use and will work right out of the package on most systems.

1. Login to your server as root via SSH.

2. Load the logwatch configuration file

Type: pico -w /etc/log.d/conf/logwatch.conf

3. Search for where the log files are mailed too.

Press: CTRL-W

Type: MailTo

Set the e-mail address to an off server account so incase you get
hacked they can not delete the mail without hacking atleast 2 servers.

4. Now lets change what actions you are alerted of.


Type: Detail

5. Detail = Low

Change that to Medium, or High.

I suggest high, because you will get more detailed logs with all actions.

6. Once you are done lets Exit & Save

CTRL-X then Y then Enter

Facebook Comments

More Stuff

Adapta – A Material Design Gtk+ Theme for Ubuntu and Linux Mint Are you tired of the boring look of Ubuntu and Linux Mint themes? Lets try out a new theme called Adapta. It is a Gtk theme for Unity, Gnome, Budgie-D...
Don’t Invest in ICO’s 1. Removes Middle Man in a Current Process Essentially one of the most important concepts of Blockchain technology is that it aims to cut out a middl...
Install ZoneMinder – Video Surveillance Software on Debian 9 Whether it’s in the home or the enterprise, physical security is always a foundational component of an all encompassing security policy. The usage of ...
Install ‘PhpVirtualBox’ to Manage VirtualBox Virtual Machines via ... Virtualization is one of the most discussed topic in the field of Linux and IT in general. In the list of 10 HOT IT Skills in demand Virtualization (V...
Spread the love