cat vhost_error.log | cut -f 4 -d '[' | cut -f 1 -d ']' | sed 's_client __' 123.123.123.123 ....
cat vhost_error.log | cut -f 4 -d '[' | cut -f 1 -d ']' | sed 's_client __' | sort -n | uniq -c 6 123.123.1.1 6 123.123.1.2 13 123.123.1.3 21 123.123.1.4 10 123.123.1.5 27 123.123.1.6 1 123.123.1.7 30 123.123.1.8 14 123.123.1.9
server = 'xmpp.domaine.fr' login = 'login' password = 'p4ssWd' destinataire = 'user@domaine.fr' logFile = "/tmp/log.log"
python xmpplogs.py