Re: SQUID Log in PostgreSQL

Поиск
Список
Период
Сортировка
От Steve Crawford
Тема Re: SQUID Log in PostgreSQL
Дата
Msg-id 200412201553.00617.scrawford@pinpointresearch.com
обсуждение исходный текст
Ответ на SQUID Log in PostgreSQL  ("Vishal Kashyap @ [SaiHertz]" <vishalonlist@gmail.com>)
Ответы Re: SQUID Log in PostgreSQL
Список pgsql-novice
On Saturday 11 December 2004 9:39 am, Vishal Kashyap @ [SaiHertz]
wrote:
> 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
daemon: http://sourceforge.net/projects/msyslog/

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
year).

Cheers,
Steve


В списке pgsql-novice по дате отправления:

Предыдущее
От: sarlav kumar
Дата:
Сообщение: slony replication
Следующее
От: Tom Lane
Дата:
Сообщение: Re: CAST and timestamp