SYSLOG-SUMMARY(1)
π SYSLOG-SUMMARY(1) β the Syslog-Summary User Manual, bestie edition β¨
okay so. welcome to the Syslog-Summary User Manual, aka the manual page for syslog-summary, and honestly? it's giving "your log files are a mess and we're about to fix that". let's go π
πΈ NAME πΈ
syslog-summary β summarize the contents of a syslog log file
β¨ SYNOPSIS β¨
syslog-summary [-s | --state= filename] [-i | --ignore= filename]
[-d | --debug] [-r | --repeat] logfile...
syslog-summary [-h | --help]
π DESCRIPTION π
This manual page documents briefly the syslog-summary command. yes, briefly, because we have places to be π¦
syslog-summary summarizes the contents of log files via the syslog(3) service, by displaying each unique (except for the time) line once, and also the number of times such a line occurs in the input. The lines are displayed in the order they occur in the input.
so like, imagine your log file is 40,000 lines of the same thing happening over and over β not anymore bestie π. same line (minus the timestamp) shows up once, with a lil count next to it. and the order? preserved, exactly like it appeared in the input. periodt. β¨
π OPTIONS π
-ifilename,--ignore=filename β Read regular expressions from filename and ignore lines in the logfiles that match them. matching lines just get filtered out of the vibe check entirely π«-sfilename,--state=filename β Read state information from filename. The state contains information about the already reported parts of a log file, and preventssyslog-summaryfrom reporting the same things many times. This is useful whensyslog-summaryis run fromcrontabevery hour. The file is created, if it doesnΒ΄t exist already.-r,--repeatβ Merge"last message repeated * times"lines with the repeated event. no more duplicate drama, we're consolidating π«Ά-d,--debugβ Enable verbose messages when errors occur (i.e."debug mode"). it's giving detective energy π-h,--helpβ Show summary of options. the classic, the icon, the legend π
π¦ FILES π¦
/etc/syslog-summary/ignore.rulesβ Defaultignore.rulesfile with default regular expressions.
π DIAGNOSTICS π
When reporting a bug, please run syslog-summary with the -d (or --debug) flag enabled. fr fr, do it β otherwise the maintainers are just guessing and nobody wants that π
syslog-summary provides some return codes, that can be used in scripts:
- Code
0β Program exited successfully. π - Code
1β Something went wrong, please run the program with the debug messages enabled.
so like, if you get a1, that's your cue to rerun with-dand see what's actually going down. no cap. π
π AUTHORS π
- Lars Wirzenius
<liw@iki.fi>- Wrote this manpage for the Debian system.
- Wrote the first version of
syslog-summary. - Maintained the Debian package from 1998 to 2000.
- Tommi Virtanen
<tv@debian.org>- Maintained the package from 2001 to early 2008.
- David Paleino
<d.paleino@gmail.com>- Maintains the package since early 2008.
absolute legends, all three of them π
β COPYRIGHT β
Copyright Β© 2008 David Paleino Copyright Β© 2001-2007 Tommi Virtanen Copyright Β© 1998-2000 Lars Wirzenius
This manual page was written for the Debian system (but may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or (at your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
and that's the whole page bestie, you ate it π
this masterpiece of a manual page is brought to you by syslog-summary, dated 02/07/2008, and it lives in the SYSLOG-SUMMARY(1) section of the manual β go forth and summarize, you gorgeous genius πβ¨π¦
π¦ where this page comes from
- debian trixie: syslog-summary 1.14-2.3
- ubuntu questing: syslog-summary 1.14-2.3
- ubuntu resolute: syslog-summary 1.14-2.3build1
- ubuntu stonking: syslog-summary 1.14-2.3build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms