Supported Log Formats for importing into SmarterStats

W3C Extended Logs (the default for IIS)

The W3C Extended Log Format includes formatting information into the file, so SmarterStats can handle many variations of the logs.

More Information:

Required Fields for Proper Importing:
SmarterTools Knowledge Base - Determine Which Log Files are Necessary to Check in IIS

Common Log Format (CLF) 

The Common Log Format is an Apache logging format that includes most basic information about traffic to a website. Due to missing referral and user agent information, however, some reports in SmarterStats may show up empty if you use this format. If possible, it is recommended to use NCSA Extended or W3C Extended logs.

Definition String in Apache

"%h %l %u %t \"%r\" %>s %b"

clientIP - RemoteLoginName - Username - [d/MMM/yyyy:HH:mm:ss zz00] - "Method URL ProtocolAndVersion" - ProtocolStatus - Bytes

Example - - [5/Dec/2007:19:00:00 -0500] "GET /Default.htm HTTP/1.1" 200 2857

NCSA Extended/Combined Log Format 

Definition String in Apache

"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""

ClientIP - logname(unused) - UserName - LogTime - "(Method UriStem)/(UriQuery) - ProtocolVersion" - ProtocolStatus - BytesSent - "Referrer" - "UserAgent”

Example - - [5/Dec/2007:19:00:00 -0500] "GET /Default.htm HTTP/1.1" 200 2857 "" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)"

IIS Log Format 

For more Information please refer to:


Learn more about how SmarterStats can help you better understand your website analytics.