You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by John Hallman <jh...@bevocal.com> on 2005/03/26 03:54:36 UTC

[users@httpd] Understanding the access.log

Trying to make sense of access.log

$ grep "LogFormat" httpd.conf

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

CustomLog "| C:/software/apache/Apache2/bin/rotatelogs.exe
C:/logs/Apache-access 86400" common

I can;t figure out what the number in between the brackets [ ] means..Most
times it is 0 but sometimes it is a large number. I've read the
documentation but can;t seem to find out what the value means?
Thanks in advance

10.0.121.235 - - [25/Mar/2005:16:14:07 -0800] [546875] "GET
/makegrammafe37af8.gsl HTTP/1.1" 304 0
10.0.121.235 - - [25/Mar/2005:16:14:07 -0800] [546875] "GET
/loginentry62788f71.gsl HTTP/1.1" 304 0
10.0.121.235 - - [25/Mar/2005:16:14:07 -0800] [546875] "GET
/makegramma5593a092.gsl HTTP/1.1" 304 0
10.0.121.235 - - [25/Mar/2005:16:26:23 -0800] [3781250] "GET
/makegramma6961b08f.gsl HTTP/1.1" 304 0
10.0.121.235 - - [25/Mar/2005:16:26:23 -0800] [3796875] "GET
/makegramma50175405.gsl HTTP/1.1" 304 0
10.0.121.235 - - [25/Mar/2005:16:51:00 -0800] [593750] "GET
/makegramma1bd7cb5e.gsl HTTP/1.1" 200 23046
10.0.121.235 - - [25/Mar/2005:16:51:00 -0800] [921875] "GET
/makegramma121a6372.gsl HTTP/1.1" 200 40375
10.0.121.235 - - [25/Mar/2005:16:54:09 -0800] [1593750] "GET
/retrieve69802435.ngo HTTP/1.1" 200 113647
10.0.121.235 - - [25/Mar/2005:17:14:08 -0800] [718750] "GET
/universals1f5425f.gsl HTTP/1.1" 304 0
10.0.121.235 - - [25/Mar/2005:17:14:08 -0800] [718750] "GET
/commands60e468c0.grammar HTTP/1.1" 304 0
10.0.121.235 - - [25/Mar/2005:17:41:03 -0800] [140625] "GET
/makegramma7faef2.gsl HTTP/1.1" 200 23046
10.0.121.235 - - [25/Mar/2005:17:41:04 -0800] [421875] "GET
/makegramma4a47312c.gsl HTTP/1.1" 200 40375
10.0.121.235 - - [25/Mar/2005:18:07:53 -0800] [1625000] "GET
/vxml2_5a/d/3/ve20aa2701.gsl HTTP/1.1" 200 9968

Re: [users@httpd] Understanding the access.log

Posted by Joshua Slive <js...@gmail.com>.
On Fri, 25 Mar 2005 18:54:36 -0800, John Hallman <jh...@bevocal.com> wrote:
>  
> 
> Trying to make sense of access.log 
> 
> $ grep "LogFormat" httpd.conf 
> 
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
> combined 
> LogFormat "%h %l %u %t \"%r\" %>s %b" common 
> LogFormat "%{Referer}i -> %U" referer 
> LogFormat "%{User-agent}i" agent 
> 
> CustomLog "| C:/software/apache/Apache2/bin/rotatelogs.exe
> C:/logs/Apache-access 86400" common 
> 
> I can;t figure out what the number in between the brackets [ ] means..Most
> times it is 0 but sometimes it is a large number. I've read the
> documentation but can;t seem to find out what the value means? 
> 
> Thanks in advance 
> 
> 10.0.121.235 - - [25/Mar/2005:16:14:07 -0800] [546875] "GET
> /makegrammafe37af8.gsl HTTP/1.1" 304 0 

These entires don't match your LogFormat, nor do they look like
anything I've ever seen in an apache access_log.  Are you sure you are
looking at the right httpd.conf?  Are you sure that rotatelogs isn't
doing any editting?

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org