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

Amos Jeffries squid3 at treenet.co.nz
Fri May 28 02:12:13 UTC 2021


On 28/05/21 9:28 am, Ambrose Li wrote:
> On Thu, May 27, 2021 at 07:14:51PM +0000, 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.
  <https://wiki.squid-cache.org/Features/LogModules>


Amos


More information about the squid-users mailing list