KnowledgeBase - Sample Log File - Apache Common Log File Format

Sample Log File - Apache Common Log File Format

« Go Back
Webtrends Legacy Products
For products:
Webtrends Enterprise 7.x
Webtrends Small Business 7.x
Webtrends Professional 7.x
Webtrends Analysis Suite 7.x
Webtrends Log Analyzer Advanced 8.x
Webtrends Log Analyzer 8.x
Webtrends Log Analyzer 7.x
Webtrends Reporting Center 6.x
Webtrends Reporting Center 5.x
Webtrends Reporting Center 4.x

Last modified: 3/1/2011

A sample log file from an Apache Webserver set to log in the Apache Common Log File Format.

111.222.333.123 HOME - [01/Feb/1998:01:08:39 -0800] "GET /bannerad/ad.htm HTTP/1.0" 200 198
111.222.333.123 HOME - [01/Feb/1998:01:08:46 -0800] "GET /bannerad/ad.htm HTTP/1.0" 200 28083
111.222.333.123 AWAY - [01/Feb/1998:01:08:53 -0800] "GET /bannerad/ad7.gif HTTP/1.0" 200 9332
111.222.333.123 AWAY - [01/Feb/1998:01:09:14 - 0800] "GET /bannerad/click.htm HTTP/1.0" 200 207

Description of Fields:
Field 1: User Address IP or domain name of the user accessing the site.
Field 2: RFC931 This field is used to log the domain for multi-homed web servers.
Field 3: User Authentication
Field 4: Date/Time Date and time the user accessed the site.
Field 5: GMT Offset Number of hours from GMT (if this is +0000 it is logged in GMT time).
Field 6: Action The particular operation of the hit (this must be in quotes).
Field 7: Return Code The return code indicates whether or not the action was successful etc.
Field 8: Size The size of the file sent.
More Information
Was this article helpful?

Please tell us how we can make this article more useful.

Characters Remaining: 255