Skip site navigation (1) Skip section navigation (2)

Re: SQUID Log in PostgreSQL

From: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
To: "Vishal Kashyap (at) [SaiHertz]" <vishalonlist(at)gmail(dot)com>,pgsql-novice(at)postgresql(dot)org
Subject: Re: SQUID Log in PostgreSQL
Date: 2004-12-20 23:53:00
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
On Saturday 11 December 2004 9:39 am, Vishal Kashyap @ [SaiHertz] 
> Dear PostgreSQL Enlightened ,
> Is their any plugin or work around that would allow me to log Squid
> jobs into PostgreSQL ?

Assuming Squid is set up to write to syslog try the modular syslog 

Msyslogd has various modules/filters for input to and output from 
syslog including an output module to write syslog info to PostgreSQL. 
In my case the message part of each syslog entry has a specific 
format so I modified the PostgreSQL module to further parse the 
message into appropriate columns.

It's worked quite well and, like PG, has proven reliable (the 
connection from the msyslog daemon to PG has been up for about a 


In response to


pgsql-novice by date

Next:From: Tom LaneDate: 2004-12-21 00:31:54
Subject: Re: CAST and timestamp
Previous:From: Christopher BrowneDate: 2004-12-20 23:31:04
Subject: Re: slony replication

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group