[squid-users] Logging into PostgreSQL

2005-02-19 Thread Vishal Kashyap @ [SaiHertz]
Dear all, This question has been asked a lot but their stants no answer to it in the archives, Is their a way by which I can log the user usage of squid into a PostgreSQL server, Please do reply with any pointers and suggestions -- With Best Regards, Vishal Kashyap. http://vishalkashyap.tk

Re: [squid-users] Logging into PostgreSQL

2005-02-23 Thread Henrik Nordstrom
On Sun, 20 Feb 2005, Vishal Kashyap @ [SaiHertz] wrote: Is their a way by which I can log the user usage of squid into a PostgreSQL server, The easiest is to write a small script reading the access.log and pushing this into Postgres. This can be done nearly real time. Regards Henrik

Re: [squid-users] Logging into PostgreSQL

2005-02-23 Thread Vishal Kashyap @ [SaiHertz]
Dear Henrik , > The easiest is to write a small script reading the access.log and pushing > this into Postgres. This can be done nearly real time. Sure, but how will that happen the data is not CSV format even If I use http://www.edlsystems.com/shellsql Would you please give any pointers how

Re: [squid-users] Logging into PostgreSQL

2005-02-24 Thread Henrik Nordstrom
On Thu, 24 Feb 2005, Vishal Kashyap @ [SaiHertz] wrote: Sure, but how will that happen the data is not CSV format even If I use http://www.edlsystems.com/shellsql Personally I consider translation from one text format to another trivial. And in addition there is several related examples around to

RE: [squid-users] Logging into PostgreSQL

2005-02-24 Thread Brian E. Conklin
tal = $s2 - $s1; printf("\nParsed %s lines in %s seconds.\n",$i,$total); ?> Brian E. Conklin, MCP+I, MCSE Director of Information Services Mason General Hospital http://www.masongeneral.com -Original Message- From: Vishal Kashyap @ [SaiHertz] [mailto:[EMAIL PROTECTED] Sent