fmII
Mon, May 12th home | browse | articles | contact | chat | submit | faq | newsletter | about | stats | scoop 01:14 PDT
in
Section
login «
register «
recover password «
[Project] add release | add branch | add screenshot | broken links | change owner | email subscribers | update project | update branch (urls) [Project]

 mergelog - Default branch
Section: Unix

 

Added: Mon, Oct 16th 2000 08:48 PDT (7 years, 7 months ago) Updated: Thu, Dec 6th 2001 05:37 PDT (6 years, 5 months ago)


About:
mergelog is a small and fast C program, which merges HTTP log files by date in 'Common Log Format' (Apache default log format) from Web servers, behind round-robin DNS. It has been designed to easily process huge logs from highly stressed servers, and can manage gzipped files.

Author:
Bertrand Demiddelaer [contact developer]

Rating:
8.55/10.00 (4 votes)

Homepage:
http://mergelog.sourceforge.net/
Tar/GZ:
http://prdownloads.sourceforge.net/mergelog/

Trove categories: [change]
[Development Status]  5 - Production/Stable
[Environment]  Console (Text Based)
[Intended Audience]  Advanced End Users, Quality Engineers, System Administrators
[License]  OSI Approved :: GNU General Public License (GPL)
[Operating System]  POSIX, POSIX :: BSD :: FreeBSD, POSIX :: Linux, Unix
[Programming Language]  C
[Topic]  Internet, Internet :: Log Analysis, Internet :: WWW/HTTP :: Site Management, System :: Logging

Dependencies: [change]
No dependencies filed

 
Project admins: [change]
» Bertrand Demiddelaer (Owner)

» Rating: 8.55/10.00 (Rank N/A)
» Vitality: 0.01% (Rank 7950)
» Popularity: 0.58% (Rank 10085)

project statsdownload stats
(click to enlarge graphs)
   Record hits: 10,965
   URL hits: 4,769
   Subscribers: 7

Other projects from the same categories:
FlashRecruit
Serial Over IP
GBNBot
LiveWebStats
StatsDawg

Users who subscribed to this project also subscribed to:
GIMP
John the Ripper
DTMFkit
rpm-analyzer
XML Parse Lib


Add comment · Rate this project · Subscribe to new releases · Ignore this project · Email this project to a friend · Project record in XML

 Branches

Branch Version Last release License URLs
Default 4.5 11-Apr-2001 GNU General Public License (GPL) Homepage Tar/GZ Hosted on SourceForge.net

 Comments

[»] no dots in ip
by roger_byucougar - Jan 5th 2006 13:04:20

Works well -- seems to have a small bug if the hostname/ipaddress does not contain a period [calls it an error but still outputs it, so not a big problem].
Thanks.
-Roger

[reply] [top]


    [»] Re: no dots in ip
    by roger_byucougar - Jan 13th 2006 19:30:06


    > Works well -- seems to have a small bug

    > if the hostname/ipaddress does not

    > contain a period [calls it an error but

    > still outputs it, so not a big

    > problem].

    Seems that the problem is not that hostname's lack a period, but rather if they are of size 3 or less then mergelog mis-parses them. To fix change SCAN_OFFSET to 7.

    [reply] [top]


[»] Very handy!
by S. M. Das - Aug 3rd 2004 16:45:26

mergelog should come with apache. The compiled binary is under 40k (I know, I know, platform, toolchain, etc... but still!).

How about a mergelog for error_log's? These are trickier because many parsers don't output in apache error log format, but chunks of contiguous aberrant errors could be treated as a single line, and it's date/time could be flagged "after" the first properly formatted log line above it, but before any possible mergeable line. Perhaps an option to strip any malformed (consider corrupted?) lines.

[reply] [top]


[»] Damn fast
by Gediminas Gigas - Jun 4th 2002 10:23:22

Ok. I`m perl zealot, but this time i should admit C speed against perl analogue merge_apache_logs.
It saved me. I`ve successfully merged 3 log files with total of 1.5GB like in 2 minutes. Webalizer parsed output without problems.
Its simple, fast and it does what it should.

[reply] [top]


    [»] Re: Damn fast
    by Jason - Jun 26th 2002 13:45:23

    Ok, I'm new to this whole thing. I downloaded it and compiled it. I have 3 log files on 3 different servers. nce I pull them down to a local machine, I want to merge them. How do I do this using mergelog?


    > Ok. I`m perl zealot, but this time i
    > should admit C speed against perl
    > analogue merge_apache_logs.
    > It saved me. I`ve successfully merged 3
    > log files with total of 1.5GB like in 2
    > minutes. Webalizer parsed output without
    > problems.
    > Its simple, fast and it does what it
    > should.

    [reply] [top]


      [»] Re: Damn fast
      by Bertrand Demiddelaer - Jun 29th 2002 08:56:08


      > Ok, I'm new to this whole thing. I
      > downloaded it and compiled it. I have 3
      > log files on 3 different servers. nce I
      > pull them down to a local machine, I
      > want to merge them. How do I do this
      > using mergelog?

      You can try the following command:
      mergelog logfile1 logfile2 logfile2 > merge

      You can also try this:
      man mergelog

      ;-)

      [reply] [top]




© Copyright 2008 SourceForge, Inc., All Rights Reserved.
About freshmeat.net •  Privacy Statement •  Terms of Use •  Trademark Guidelines •  Advertise •  Contact Us • 
ThinkGeek •  Slashdot  •  ITMJ •  Linux.com •  NewsForge  •  SourceForge.net  •  Surveys •  Jobs •  PriceGrabber