Репозиторий Sisyphus
Последнее обновление: 20 мая 2022 | Пакетов: 17614 | Посещений: 23653751
en ru br
Репозитории ALT
5.1: 0.06-alt1

Группа :: Разработка/Perl
Пакет: perl-Parse-AccessLogEntry

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Текущая версия: 0.06-alt1.1
Время сборки: 22 ноября 2010, 19:49 ( 599.5 недели назад )
Размер архива: 7018 b

Домашняя страница:   http://www.cpan.org

Лицензия: Artistic
О пакете: Parse one line of an Apache access log

There are several modules that focus on generating web reports,
like Apache::ParseLog.  There are also several places on the
web where you can find the regex required to parse the lines
on your own.  This is simply for users who dont want to mess
with any of that, and just want to have a quick way to implement
this functionality in their code.

This module handles the standard Apache access_log formats,
including the combined log file format that includes the
referrer and user-agent.  The return form the parse() call
is a hashref with key names being the fields in the line just

 $Hashref->{host}    client ip of the request
 $Hashref->{user}    user logged in ("-" for none)
 $Hashref->{date}    date of the request
 $Hashref->{time}    server time of the request
 $Hashref->{diffgmt} server offset from GMT
 $Hashref->{rtype}   type of request (GET, POST, etc)
 $Hashref->{file}    file requested
 $Hashref->{proto}   protocol used (HTTP/1.1, etc)
 $Hashref->{code}    code returned by apache (200, 304, etc)
 $Hashref->{bytes}   number of bytes returned to the client
 $Hashref->{refer}   referrer
 $Hashref->{agent}   user-agent

If you noticed that the RFC1413 field is missing, you're right.
I don't plan on including this anytime soon, since hardly anyone
uses it.

This is a pretty early release.  But since much of this code is
lifted from other sources it should be pretty reliable.  If
anybody has any ideas on how to make it more robust then let me

Текущий майнтейнер: Denis Klimov

Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета:

Список rpm-пакетов, предоставляемый данным srpm-пакетом:

  • perl-Parse-AccessLogEntry
    дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    текущий майнтейнер: Michael Shigorin