1LOGRESOLVE(1) logresolve LOGRESOLVE(1)
2
3
4
6 logresolve - Resolve IP-addresses to hostnames in Apache log files
7
8
10 logresolve [ -s filename ] [ -c ] < access_log > access_log.new
11
12
13
15 logresolve is a post-processing program to resolve IP-addresses in
16 Apache's access logfiles. To minimize impact on your nameserver, logre‐
17 solve has its very own internal hash-table cache. This means that each
18 IP number will only be looked up the first time it is found in the log
19 file.
20
21
22 Takes an Apache log file on standard input. The IP addresses must be
23 the first thing on each line and must be separated from the remainder
24 of the line by a space.
25
26
27
29 -s filename
30 Specifies a filename to record statistics.
31
32 -c This causes logresolve to apply some DNS checks: after finding
33 the hostname from the IP address, it looks up the IP addresses
34 for the hostname and checks that one of these matches the origi‐
35 nal address.
36
37
38
39
40Apache HTTP Server 2018-07-06 LOGRESOLVE(1)