Hi,
sorry for an intermediate message, but today I developed a new tool called "ipv6logstats". This parses the host tokens of a web server log and create a statistics.
$ cat mirrors.bieringer.de-log.200306| /tmp/ipv6logstats Expecting log lines on stdin Ok, proceeding stdin... ...finished ALL 16264 IPv4 15233 IPv6 1031 UNKNOWN 0 IPv4/APNIC 609 IPv4/ARIN 5731 IPv4/RIPE 8626 IPv4/LACNIC 56 IPv4/UNKNOWN 211 IPv6/6bone 108 IPv6/IANA 0 IPv6/APNIC 4 IPv6/ARIN 4 IPv6/RIPE 573 IPv6/LACNIC 0 IPv6/RESERVED 0 IPv6/UNKNOWN 0 IPv6/6to4/IANA 0 IPv6/6to4/APNIC 4 IPv6/6to4/ARIN 88 IPv6/6to4/RIPE 250 IPv6/6to4/LACNIC 0 IPv6/6to4/RESERVED 0 IPv6/6to4/UNKNOWN 0
There is also an option for a column mode:
200301 351 295 56 0 11 168 104 0 12 4 0 0 0 0 0 0 0 0 0 0 52 0 0 0 200302 1240 1209 31 0 39 858 286 7 19 0 0 0 6 5 0 0 0 0 0 0 20 0 0 0 200303 3531 3520 11 0 211 1691 1426 63 129 3 0 3 0 5 0 0 0 0 0 0 0 0 0 0 200304 2947 2937 10 0 285 1517 977 86 72 0 0 0 2 6 0 0 0 0 0 0 2 0 0 0 200305 7562 7542 20 0 414 4621 2258 80 169 0 0 0 4 1 0 0 0 0 0 0 15 0 0 0 200306 12049 11024 1025 0 609 5731 4418 55 211 108 0 4 4 573 0 0 0 0 4 88 244 0 0 0
A sample script for gnuplot is also available, see created graphics:
http://mirrors.bieringer.de/stats/result.png http://mirrors.bieringer.de/stats/result-percent.png
Also I added support for LACNIC registry.
Try out, send comments and feature requests if needed.
If all works fine, I will create version 0.46 soon.
Peter