Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Autres versions - même langue

Version: 2006-07-23 (debian - 07/07/09)

Section: 1 (Commandes utilisateur)


combined2dlf - convert combined log file to DLF


combined2dlf file


combined2dlf converts web server log files in the combined log format to the www DLF. The combined (also known as extended common log format) log format was first implemented in the NSCA httpd webs server but is now supported in many web servers. Apache can be configured to use that log format.


The combined log format is an extension to the Common Log Format; see common2dlf(1). It adds two fields to the end of the line:
   "referer" "useragent"
The content of the Referer request's header. This usually reflects the page where the user was before that request.
The content of the User-Agent request's header. This usually reflects the browser that the user is using.

Log example :

   127.0.01 - - [11/03/2001 12:12:01 -0400] "GET / HTTP/1.0" 200 513 "-" "Mozilla/5.0" - francis [11/03/2001 12:14:01 -0400] "GET /secret/ HTTP/1.0" 200 1256 "" "Mozilla/5.0"


To process a log as produced in the combined logformat:
  $ combined2dlf < combined.log

combined2dlf will be rarely used on its own, but is more likely called by lr_log2report:

  $ lr_log2report combined < /var/log/httpd/combined.log


common2dlf(1), modgzip2dlf(1), referer2dlf(1)


Joost van Baal <>, Francis J. Lacoste <> and Egon Willighagen <>, based on an idea by Edwin Groothuis


$Id:,v 1.10 2006/07/23 13:16:36 vanbaal Exp $ Copyright (C) 2000, 2001 Stichting LogReport Foundation

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

Un de plus, tu veux que ton PC dise bonjour au clients qui rentrent dans
ton magasin et tu veux pouvoir les compter... Rien de plus facile, le
Multidesk est domotique et te permet de gérer toutes ces choses... --
Jayce - Multidesk est poli --