logwatch

Summarizes many different logs for common services (e.g. apache, pam_unix, sshd, etc.) in a single report. More information: <https://manned.org/logwatch>.

Install

All systems
curl cmd.cat/logwatch.sh
Debian Debian
apt-get install logwatch
Ubuntu
apt-get install logwatch
Arch Arch Linux
pacman -S logwatch
image/svg+xml Kali Linux
apt-get install logwatch
CentOS
yum install logwatch
Fedora
dnf install logwatch
Windows (WSL2)
sudo apt-get update sudo apt-get install logwatch
Raspbian
apt-get install logwatch

Summarizes many different logs for common services (e.g. apache, pam_unix, sshd, etc.) in a single report. More information: <https://manned.org/logwatch>.

  • Analyze logs for a range of dates at a certain level of detail:
    logwatch --range yesterday|today|all|help --detail low|medium|others'
  • Restrict report to only include information for a selected service:
    logwatch --range all --service apache|pam_unix|etc

© tl;dr; authors and contributors