Discussion:
[squid-users] Squid Logs local and remote
Jose Torres-Berrocal
2016-10-27 19:35:11 UTC
Permalink
Is there a way that I can have the squid logs locally and remotely?

I need them locally for lightsquid and remotelly for sarg in other server.

Lightsquid does not show the tcp_denied sites only the successful
connections (at least I did not see how), Sarg does show both type of
connections.

I can not install Sarg on the local server (pfsense 2.3.2 is not compatible)

Please advice.

Jose E Torres
939-777-4030
JET System Services
Ambrose LI
2016-10-27 19:40:36 UTC
Permalink
Post by Jose Torres-Berrocal
Is there a way that I can have the squid logs locally and remotely?
I need them locally for lightsquid and remotelly for sarg in other server.
Lightsquid does not show the tcp_denied sites only the successful
connections (at least I did not see how), Sarg does show both type of
connections.
I can not install Sarg on the local server (pfsense 2.3.2 is not compatible)
What kind of logs, and does your system use rsyslog? If it's just the
access log you can configure squid to log to syslog, then configure
rsyslog to both save a local copy and forward to a remote server. But
the formatting of the logs is going to change somewhat.
--
Ambrose Li // http://o.gniw.ca / http://gniw.ca
If you saw this on CE-L: You do not need my permission to quote
me, only proper attribution. Always cite your sources, even if
you have to anonymize and/or cite it as "personal communication".
Yuri Voinov
2016-10-27 19:42:58 UTC
Permalink
.... or on writable NFS-mount from remote server..... :)
Post by Ambrose LI
Post by Jose Torres-Berrocal
Is there a way that I can have the squid logs locally and remotely?
I need them locally for lightsquid and remotelly for sarg in other server.
Lightsquid does not show the tcp_denied sites only the successful
connections (at least I did not see how), Sarg does show both type of
connections.
I can not install Sarg on the local server (pfsense 2.3.2 is not compatible)
What kind of logs, and does your system use rsyslog? If it's just the
access log you can configure squid to log to syslog, then configure
rsyslog to both save a local copy and forward to a remote server. But
the formatting of the logs is going to change somewhat.
- --
Cats - delicious. You just do not know how to cook them.
Jose Torres-Berrocal
2016-10-27 20:55:23 UTC
Permalink
My system is a pfsense. It does not hace rsyslog. Pfsense is based on
Freebsd.

Lets say it can be installed. Will the logs be compatible with lightsquid
and sarg?
2016-10-27 15:35 GMT-04:00 Jose Torres-Berrocal <
Post by Jose Torres-Berrocal
Is there a way that I can have the squid logs locally and remotely?
I need them locally for lightsquid and remotelly for sarg in other
server.
Post by Jose Torres-Berrocal
Lightsquid does not show the tcp_denied sites only the successful
connections (at least I did not see how), Sarg does show both type of
connections.
I can not install Sarg on the local server (pfsense 2.3.2 is not
compatible)
What kind of logs, and does your system use rsyslog? If it's just the
access log you can configure squid to log to syslog, then configure
rsyslog to both save a local copy and forward to a remote server. But
the formatting of the logs is going to change somewhat.
--
Ambrose Li // http://o.gniw.ca / http://gniw.ca
If you saw this on CE-L: You do not need my permission to quote
me, only proper attribution. Always cite your sources, even if
you have to anonymize and/or cite it as "personal communication".
Eliezer Croitoru
2016-10-28 00:43:51 UTC
Permalink
Depends on the squid version you can send it to a custom tcp daemon.



Eliezer



----

<http://ngtech.co.il/lmgtfy/> Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: ***@ngtech.co.il





From: squid-users [mailto:squid-users-***@lists.squid-cache.org] On Behalf Of Jose Torres-Berrocal
Sent: Thursday, October 27, 2016 23:55
To: Ambrose LI <***@gmail.com>
Cc: Squid Users <squid-***@lists.squid-cache.org>
Subject: Re: [squid-users] Squid Logs local and remote



My system is a pfsense. It does not hace rsyslog. Pfsense is based on Freebsd.

Lets say it can be installed. Will the logs be compatible with lightsquid and sarg?
Post by Jose Torres-Berrocal
Is there a way that I can have the squid logs locally and remotely?
I need them locally for lightsquid and remotelly for sarg in other server.
Lightsquid does not show the tcp_denied sites only the successful
connections (at least I did not see how), Sarg does show both type of
connections.
I can not install Sarg on the local server (pfsense 2.3.2 is not compatible)
What kind of logs, and does your system use rsyslog? If it's just the
access log you can configure squid to log to syslog, then configure
rsyslog to both save a local copy and forward to a remote server. But
the formatting of the logs is going to change somewhat.



--
Ambrose Li // http://o.gniw.ca / http://gniw.ca
If you saw this on CE-L: You do not need my permission to quote
me, only proper attribution. Always cite your sources, even if
you have to anonymize and/or cite it as "personal communication".
Loading...