tldr/pages/linux/logwatch.md
kalebo 4e544c1230 logwatch: add page (#1311)
Logwatch is a useful command to summarize log files. It can be configured to use settings from it's config file and run by cron, but it can also be useful to run ad-hoc from the command line.
2017-05-24 09:43:38 +01:00

401 B

logwatch

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

  • Analyze logs for a range of dates at 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}}