From 4e544c1230bda44cfe6125e25051a611d22319ef Mon Sep 17 00:00:00 2001 From: kalebo Date: Wed, 24 May 2017 02:43:38 -0600 Subject: [PATCH] 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. --- pages/linux/logwatch.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pages/linux/logwatch.md diff --git a/pages/linux/logwatch.md b/pages/linux/logwatch.md new file mode 100644 index 0000000000..3d6aaa65c7 --- /dev/null +++ b/pages/linux/logwatch.md @@ -0,0 +1,11 @@ +# 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}}`