Re: [squid-users] How to forward squid access.log to a remote server

2021-05-27 Thread Amos Jeffries

On 28/05/21 9:28 am, Ambrose Li wrote:

On Thu, May 27, 2021 at 07:14:51PM +, simon ben wrote:

I have the below working perfectly

Centos 8 X64squid-4.11-3
I need to forward the squid access.log to a remote Log ServerAppreciate if some 
can help and advise.


I'm not on squid4, but I believe you can use (for example)

access_log syslog:daemon.info squid

then can configure your local syslogd to forward the logs.



Or any of the other logging modules available. TCP stream, UDP, daemon 
that records to any other protocol or API the remote server uses.

 


Amos
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


[squid-users] How to forward squid access.log to a remote server

2021-05-27 Thread simon ben
Dear All,
I have the below working perfectly

Centos 8 X64squid-4.11-3
I need to forward the squid access.log to a remote Log ServerAppreciate if some 
can help and advise.

Thanks and regards
simon




___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] How to forward squid access.log to a remote server

2021-05-27 Thread Ambrose Li
On Thu, May 27, 2021 at 07:14:51PM +, simon ben wrote:
> I have the below working perfectly
> 
> Centos 8 X64squid-4.11-3
> I need to forward the squid access.log to a remote Log ServerAppreciate if 
> some can help and advise.

I'm not on squid4, but I believe you can use (for example)

access_log syslog:daemon.info squid

then can configure your local syslogd to forward the logs.


-- 
Ambrose Li  | Time zone: GMT-4 (Eastern)
ambroseli.ca

“We need to put ourselves into positions where we are comfortable for
 being uncomfortable” — Gaby Brink [AIGA Gain, 2012]

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] How to forward squid access.log to a remote server

2021-05-27 Thread Odhiambo Washington
On Thu, May 27, 2021 at 10:15 PM simon ben  wrote:

> Dear All,
>
> I have the below working perfectly
>
> Centos 8 X64
> squid-4.11-3
>
> I need to forward the squid access.log to a remote Log Server
> Appreciate if some can help and advise.
>
>
> Thanks and regards
> 


Something like:

access_log syslog:local2 squid

Then from syslog, send local2 to a remote log server, no?

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", egrep -v "^$|^.*#" :-)
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users