1ipv6logstats(8)                  system tools                  ipv6logstats(8)
2
3
4

Name

6       ipv6logstats  -  Takes  http log data from stdin and print a statistics
7       table on output
8

SYNOPSIS

10       cat /var/log/httpd/access_log | ipv6logstats [OPTIONS]
11

SYNTAX

13       ipv6logstats [logfile]
14

DESCRIPTION

16       Takes web server log data (or any other data which has IPv4/v6  address
17       in  first column) from stdin and print statistics table/list (depending
18       on option) to stdout
19

OPTIONS

21       General options:
22
23       [-d|--debug DEBUGVALUE]
24              debug value (bitwise like) can also  be  set  by  IPV6CALC_DEBUG
25              environment value
26
27       [-v|--version [-v [-v]]]
28              version information (2 optional detail levels)
29
30       [-v|--version -h]
31              explanation of feature tokens
32
33       [-V|--verbose]
34              be more verbose
35
36       [-h|--help|-?]
37              this online help
38
39       [-q|--quiet]
40              be more quiet
41
42       External database options (depending on compiled-in suppport):
43
44       [--db-ip2location-disable]
45              IP2Location support disabled
46
47       [--db-ip2location-dir DIRECTORY]
48              IP2Location database directory (default: /usr/share/IP2Location)
49
50       [--db-geoip-disable]
51              GeoIP support disabled
52
53       [--db-geoip-dir DIRECTORY]
54              GeoIP database directory (default: /usr/share/GeoIP)
55
56       Special options:
57
58       [-u|--unknown]
59              print unknown IP addresses to stderr
60
61       [-c|--columns]
62              print statistics in columns (1)
63
64       [-N|--column-numbers]
65              print column numbers
66
67       [-n|--noheader]
68              don't print header in columns mode (1)
69
70       [-o|--onlyheader]
71              print only header in columns mode (1)
72
73       [-p|--prefix TOKEN]
74              print token as prefix (1)
75
76       [-s|--simple]
77              disable extended statistic (CountryCode/ASN)
78               (1) unsupported for CountryCode & ASN statistics
79
80
81

EXAMPLES

83       Column mode:
84
85       echo "2001:a60:1400:1201:221:70ff:fe01:2345" | ./ipv6logstats -c -q
86       ALL IPv4 IPv6 UNKNOWN IPv4/APNIC IPv4/ARIN IPv4/RIPE IPv4/LACNIC IPv4/AFRINIC IPv4/UNKNOWN IPv6/6bone IPv6/IANA IPv6/APNIC IPv6/ARIN IPv6/RIPE IPv6/LACNIC IPv6/AFRINIC IPv6/RESERVED IPv6/UNKNOWN IPv6/6to4/IANA IPv6/6to4/APNIC IPv6/6to4/ARIN IPv6/6to4/RIPE IPv6/6to4/LACNIC IPv6/6to4/AFRINIC IPv6/6to4/RESERVED IPv6/6to4/UNKNOWN IPv6/Teredo/IANA IPv6/Teredo/APNIC IPv6/Teredo/ARIN IPv6/Teredo/RIPE IPv6/Teredo/LACNIC IPv6/Teredo/AFRINIC IPv6/Teredo/RESERVED IPv6/Teredo/UNKNOWN IPv6/NAT64/IANA IPv6/NAT64/APNIC IPv6/NAT64/ARIN IPv6/NAT64/RIPE IPv6/NAT64/LACNIC IPv6/NAT64/AFRINIC IPv6/NAT64/RESERVED IPv6/NAT64/UNKNOWN IPv6/IID/Global IPv6/IID/Random IPv6/IID/Manual IPv6/IID/ISATAP IPv6/IID/Unknown #Version(4.0)
87
88       1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 #4.0
89
90       Row mode:
91       echo "2001:a60:1400:1201:221:70ff:fe01:2345" | ./ipv6logstats -q
92       *Version             4.0
93       *DateTime: 2014:07:23 19:59:56+0000 GMT
94       *UnixTime: 1406145596
95       ALL                  1
96       IPv4                 0
97       IPv6                 1
98       IPv6/RIPE            1
99       IPv6/IID/Global      1
100       *3*CC-code-proto/DE/ALL   1
101       *3*CC-code-proto/DE/IPv4  0
102       *3*CC-code-proto/DE/IPv6  1
103       *3*CC-code-proto-list/DE  1 0 1
104       *3*CC-proto-code/ALL/DE   1
105       *3*CC-proto-code/IPv6/DE  1
106       *3*CC-proto-code-list/ALL  1 0 1
107       *3*AS-num-proto/8767/ALL   1
108       *3*AS-num-proto/8767/IPv4  0
109       *3*AS-num-proto/8767/IPv6  1
110       *3*AS-num-proto-list/8767  1 0 1
111       *3*AS-proto-num/ALL/8767   1
112       *3*AS-proto-num/IPv6/8767  1
113       *3*AS-proto-num-list/ALL  1 0 1
114

SEE ALSO

116       ipv6calc(8)
117

REPORTING BUGS

119       Report bugs via GitHub:
120        https://github.com/pbiering/ipv6calc/issues
121https://github.com/pbiering/ipv6calc/issues
122
123       Homepage:              http://www.deepspace6.net/projects/ipv6calc.html
124http://www.deepspace6.net/projects/ipv6calc.html
125
127       GPLv2
128

AUTHORS

130       Peter Bieringer <pb@bieringer.de>
131
132
133
134Peter Bieringer <pb@bieringer.de>    2.0.0                     ipv6logstats(8)
Impressum