Go to main content

man pages section 1: User Commands

Exit Print View

Updated: July 2017
 
 

logresolve (1)

Name

logresolve - addresses to hostnames in Apache log files

Synopsis

logresolve [ -s filename ] [ -c ] < access_log > access_log.new

Description

LOGRESOLVE(1)                     logresolve                     LOGRESOLVE(1)



NAME
       logresolve - Resolve IP-addresses to hostnames in Apache log files


SYNOPSIS
       logresolve [ -s filename ] [ -c ] < access_log > access_log.new



SUMMARY
       logresolve  is  a  post-processing  program  to resolve IP-addresses in
       Apache's access logfiles. To minimize impact on your nameserver, logre-
       solve  has its very own internal hash-table cache. This means that each
       IP number will only be looked up the first time it is found in the  log
       file.


       Takes  an  Apache  log file on standard input. The IP addresses must be
       the first thing on each line and must be separated from  the  remainder
       of the line by a space.



OPTIONS
       -s filename
              Specifies a filename to record statistics.

       -c     This  causes  logresolve to apply some DNS checks: after finding
              the hostname from the IP address, it looks up the  IP  addresses
              for the hostname and checks that one of these matches the origi-
              nal address.




ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:


       +---------------+----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE    |
       +---------------+----------------------+
       |Availability   | web/server/apache-24 |
       +---------------+----------------------+
       |Stability      | Uncommitted          |
       +---------------+----------------------+
NOTES
       This    software    was    built    from    source     available     at
       https://java.net/projects/solaris-userland.    The  original  community
       source         was         downloaded         from           http://ar-
       chive.apache.org/dist/httpd/httpd-2.4.25.tar.gz

       Further information about this software can be found on the open source
       community website at http://httpd.apache.org/.



Apache HTTP Server                2012-01-09                     LOGRESOLVE(1)