Logwatch Installation On A Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian

Logwatch Installation On A Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian

logwatch

Summarizes many different logs for common services (e.g., apache, pam_unix, sshd, etc.) in a single report.

Maintainer: Willi Mann



Section: admin

Install logwatch

  • Debian apt-get install logwatch Click to copy
  • Ubuntu apt-get install logwatch Click to copy
  • Arch Linux pacman -S logwatch Click to copy
  • Kali Linux apt-get install logwatch Click to copy
  • CentOS yum install logwatch Click to copy
  • Fedora dnf install logwatch Click to copy
  • Raspbian apt-get install logwatch Click to copy

Summarizes many different logs for common services (e.g., apache, pam_unix, sshd, etc.) in a single report.

How to use logwatch?

Below are few example commands for logwatch that you can use in the terminal.

Analyze logs for a range of dates at certain level of detail:
logwatch --range yesterday|today|all|help --detail low|medium|others'Click to copy
Restrict report to only include information for a selected service:
logwatch --range all --service apache|pam_unix|etcClick to copy
To install the latest version of logwatch in your favorite operating system just copy the logwatch installation command from above and paste it into terminal. It will download and install the latest version of logwatch 2024 package in your OS.