---
name: "Lire::Apache"
section: "3pm"
platform: "linux"
package: "lire"
version: "20020214-7"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/Lire::Apache"
---

# Lire::Apache(3pm)

parse various apache logfile lines and generate DlfSchema objects

## NAME

Lire::Apache - parse various apache logfile lines and generate DlfSchema objects

## SYNOPSIS

```
 use Lire::Apache qw(common2dlf);
```

```
 my $dlf = common2dlf( $logline );
 print join( " ", @$dlf), "\n";
```

For 'common' one can also read 'combined', 'modgzip' or 'referer'.

## DESCRIPTION

This module offers the subroutines combined2dlf, common2dlf, modgzip2dlf and referer2dlf.  These routines take a log file line of the specified type as their argument and return a *logtype*\_dlf\_maker-\>( \\%dlf ) object, as constructed by the appropiate &Lire::DlfSchema::make\_hashref2asciidlf\_func call.

## SEE ALSO

[*combined2dlf*(1)](/combined2dlf/1.md), [*common2dlf*(1)](/common2dlf/1.md), [*modgzip2dlf*(1)](/modgzip2dlf/1.md), [*referer2dlf*(1)](/referer2dlf/1.md)

## VERSION

$Id: Apache.pm,v 1.10 2002/02/03 13:19:12 vanbaal Exp $

## COPYRIGHT

Copyright (C) 2000-2001 Stichting LogReport Foundation LogReport@LogReport.org

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html or write to the Free Software  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.

## AUTHORS

Joost van Baal \<joostvb@logreport.org\> and Francis J. Lacoste \<flacoste@logreport.org\>
