syslog-summary

summarize the contents of a syslog log file

Install

All systems
curl cmd.cat/syslog-summary.sh
Debian Debian
apt-get install syslog-summary
Ubuntu
apt-get install syslog-summary
Alpine
apk add syslog-summary
image/svg+xml Kali Linux
apt-get install syslog-summary
Windows (WSL2)
sudo apt-get update sudo apt-get install syslog-summary
Raspbian
apt-get install syslog-summary
Docker
docker run cmd.cat/syslog-summary syslog-summary powered by Commando

syslog-summary

summarize the contents of a syslog log file

This program summarizes the contents of a log file written by syslog, 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. It is also possible to define some "ignore rules" using regular expressions.