Last Updated: February 25, 2016
·
532
· boblefrag

parse a log file quickly

http://snippet.gabory.fr/snippet/9/

This is the python counterpart of "cat <your log file> | cut -d ":" -f 1 | sort | uniq -c | sort -n" but it run must faster, thanks to the itertools.groupby