git clone git://piggledy.org/factorize.git/
Factorize is a python script that factorizes lines from a log file to display them in a tree sorted by occurence. It allows to find types of entries that happens the most often and those that happens much less. This implementation is not finished (and won't be), it contains bugs, and is slow.
./factorize.py Usage: factorize.py [options] file_to_view Options: -h, --help show this help message and exit -s X, --skip=X skip the first X fields of each line (default: 3)
Not much options.. The -s flag is used to set the number of "columns" to skip when factorizing lines (default to 3 to match syslog format by skipping the date).
<TAB> is used to switch between the tree view and the plain view.
In the tree view:
In the plain view:
Generated with KisssPM