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 original address.
Apache HTTP Server 2005-06-29 LOGRESOLVE(1)
Check Out this Related Man Page
MERGELOGS(1) General Commands Manual MERGELOGS(1)NAME
mergelogs - merge and consolidate web server logs
SYNOPSIS
mergelogs -p penlog [-c] [-d] [-j jitter] [-t seconds] server1:logfile1 [server2:logfile2 ...]
EXAMPLES
mergelogs -p pen.log 10.0.0.1:access_log.1 10.0.0.2:access_log.2
mergelogs -p pen.log 10.0.18.6:access_log-10.0.18.6 10.0.18.8:access_log-10.0.18.8
DESCRIPTION
When pen is used to load balance web servers, the web server log file lists all accesses as coming from the host running pen. This makes it
more difficult to analyze the log file.
To solve this, pen creates its own log file, which contains the real client address, the time of the access, the target server address and
the first few bytes of the requests.
Mergelogs reads pen's log file and the log files of all load balanced web servers, compares each entry and creates a combined log file that
looks as if the web server cluster were a single physical server. Client addresses are replaced with the real client addresses.
In the event that no matching client address can be found in the pen log, the server address is used instead. This should never happen, and
is meant as a debugging tool. A large number of these indicates that the server system date needs to be set, or that the jitter value is
too small.
You probably don't want to use this program. Penlog is a much more elegant and functional solution.
OPTIONS -c Do not cache pen log entries. The use of this option is not recommended, as it will make mergelogs search the entire pen log for
every line in the web server logs.
-d Debugging (repeat for more).
-p penlog
Log file from pen.
-j jitter
Jitter in seconds (default 600). This is the maximum variation in time stamps in the pen and web server log files. A smaller value
will result in a smaller pen log cache and faster processing, at the risk of missed entries.
-t seconds
The difference in seconds between the time on the pen server and UTC. For example, this is 7200 (two hours) in Finland.
server:logfile
Web server address and name of log file.
AUTHOR
Copyright (C) 2001-2003 Ulric Eriksson, <ulric@siag.nu>.
SEE ALSO pen(1), webresolve(1), penlog(1), penlogd(1)
LOCAL MERGELOGS(1)
I am attempting to install PHP on an IBM RS6000 AIX UNIX box. I am not getting very far and hope someone can point me in the right direction. Here is the message from the output:
checking for Apache 1.x module support via DSO through APXS
Sorry I was not able to successfully run APXS.... (6 Replies)
I want to build a little website on a Sun Blade 100 running Solaris 10.
I just went out to apache.org and downloaded Unix Source: httpd-2.2.8.tar.gz
After unpacking the tarball, I CD'd into the subdirectory and ran the configure utility. Of course, it crapped out. I see that it is... (17 Replies)
Hi
I'm trying to install apache 2.2.14 on Solaris with Openssl. I'm using following configure options:
./configure --prefix=/usr/local/apache2 --enable-ssl --enable-module=so --enable-proxy=shared --enable-proxy-http=shared --enable-proxy-ajp=shared --with-ssl=/usr/local/openssl
... (3 Replies)
I have installed apache2 on Solaris machine with the binary. So i dont want to install the same binary across all the systems but only want to copy the lib files and the files which have been updated in this installation process.
So in order to get those lib files and then prepare a tar package... (5 Replies)
Hi,
Generally we will run to install, configure apache 2.x on Solaris machine, but dont want to follow these on the remaining machines.
I want to build the apache binary centrally, so that i can untar the tar file on remaining machines. Please suggest on how to prepare this file and when i... (12 Replies)
Hello,
I am having problem while redirecting output to a file where as on console output is proper.
for dir in */; do printf "%s, " "$dir"; ls -m "$dir"; echo; done > output.txt
Output of above command is coming in single line but when i am redirecting output to a file, single line i... (10 Replies)
hey guys ,
after migrate our AIX server from 6.1 to 7.1 , we insalled c compilator with rpm files
Server:root:/ > rpm -qa | grep gcc
libgcc-4.8.5-1
gcc-cpp-4.8.5-1
gcc-4.8.5-1
gcc-c++-4.8.5-1
but whene we proceed to compile a c programm we have this error
exec(): 0509-036... (17 Replies)