Parse W3C Log

<< Click to Display Table of Contents >>

Navigation:  Using StreamLab > StreamLab Guides Overview > Guide Commands > Parsers >

Parse W3C Log

Previous pageReturn to chapter overviewNext page

W3C_LOG_PARSE supports access to logs generated by W3C-compliant applications like the Apache web server, producing output rows with one column for each specifier. The data types are derived from the log entry description specifiers listed in the Apache mod_log_config specification.

You can choose from one of five pre-defined parsers. Each parser breaks the log into predefined columns with one column for each format specifier. The column's type is determined by the specifier's output. For example, %b represents the number of bytes sent in processing an HTTP request, so the column type will be numeric.

Format Name

W3C Name

Format Specifiers

COMMON

Common Log Format (CLF)

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

COMMON WITH VHOST

Common Log Format with Virtual Host

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

NCSA EXTENDED

NCSA extended/combined log format

%h %l %u %t "%r" %>s %b "%[Referer]i" "%[User-agent]i"

REFERER

Referer log format

%[Referer]i ---> %U

AGENT

Agent (Browser) log format

%[User-agent]i

%h%l%u[%t]\"%r%r HTTP/%r\"%>s%b\"%r\"\"%r\"%r%r


%h%l%u[%t]\"%r%r HTTP/%r\"%>s%b\"%r\"\"%r\"%r%r