|
NAMETail::Stat::Plugin::apache - Statistics collector for Apache web-serverSYNOPSIStstatd -o clf apache httpd.access_logLOG FORMATSApache has predefined log format named combined. This format defined as:LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined This format produces such lines: 1.2.3.4 - - [03/Feb/2010:00:01:03 +0300] "GET / HTTP/1.0" 200 89422 "http://www.rambler.ru/" "Opera/9.80" You can extend this formats with '%T' characters for logging time taken to serve the request: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" rt=%T" timed Extended format creates log records like this: 1.2.3.4 - - [03/Feb/2010:00:01:03 +0300] "GET / HTTP/1.0" 200 89422 "http://www.rambler.ru/" "Opera/9.80" rt=2.929 OPTIONS
STATISTICSOverall statisticsHTTP traffic
HTTP methods
HTTP versions
HTTP statuses
Last statisticsHTTP traffic
AUTHOROleg A. Mamontov, "<oleg@mamontov.net>"COPYRIGHTThis program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.See http://dev.perl.org/licenses/ for more information.
Visit the GSP FreeBSD Man Page Interface. |