Re: capturing access.log records into an RDBMS

From: Matija Grabnar <Matija.Grabnar@dont-contact.us>
Date: Tue, 16 Nov 1999 09:39:40 +0100

> Have a requirement to store certain access.log info (remote host, time, url)
> into a rdbms (oracle or sql server).
> Currently, i'm thinking the best strategy would be to capture the records as
> they're sent to access.log and feed it into the database.
> access.log currently averages 3.5 million records (lines).
> would hate to reinvent the wheel if somebody else has already done this.
> thank you
>
If you use DBI and File::Tail, the whole thing shouldn't take more than
about 10 lines of Perl...

-- 
"My name is Not Important. Not to friends. 
    But you can call me mr. Important"  - Not J. Important 
Matija.Grabnar@arnes.si
Received on Tue Nov 16 1999 - 01:49:08 MST

This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:32 MDT