[squid-users] Log to statsd

2021-08-11 Thread Moti Berger
Hi Is there a way to configure Squid to output the logs to statsd rather than a file? Today I have this: > +logformat my_metrics %icap::tt % +access_log daemon:/var/log/squid/my_metrics.log my_metrics > However I would like to avoid the overhead in parsing the log file by using statsd or so

Re: [squid-users] Log to statsd

2021-08-11 Thread His Shadow
You can write your own logger daemon that would dump stuff directly to statsd. I've done it myself to send logs to logstash. ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users

Re: [squid-users] Log to statsd

2021-08-11 Thread David Touzeau
Basically syslogd can do what you want : send via TCP, HTTP, UDP So the deal is to use logformat my_metrics      [statsd] %icap::tt % Hi Is there a way to configure Squid to output the logs to statsd rather than a file? Today I have this: +logformat my_metrics  %icap::tt %However I would

Re: [squid-users] Log to statsd

2021-08-11 Thread Amos Jeffries
On 11/08/21 8:51 pm, Moti Berger wrote: Hi Is there a way to configure Squid to output the logs to statsd rather than a file? Squid can send log lines to any TCP or UDP receiver which is able to handle line-oriented records. AFAIK statsd is one such agent. Today I have this: +logfor

Re: [squid-users] squid 5.1 missing ENTRY_REQUIRES_COLLAPSING

2021-08-11 Thread Alex Rousskov
On 8/11/21 2:43 AM, Loučanský Lukáš wrote: > just rolled out squid 5.1 into production machine and got several of > > 2021/08/11 08:10:45 kid2| BUG: missing ENTRY_REQUIRES_COLLAPSING for > e:tr4315=V/0x556f34ceba10*0 I recommend filing a bug report with Squid Bugzilla. If possible, share a com

Re: [squid-users] no ssl intercept - question how it works

2021-08-11 Thread robert k Wild
Great thanks Amos as always So shall I leave this ssl bump lines in ssl_bump splice NoSSLIntercept > ssl_bump peek DiscoverSNIHost > ssl_bump bump all And delete this one acl step1 at_step SslBump1 > ssl_bump peek step1 > ssl_bump bump all As your right there both the same, I didn't spot that

Re: [squid-users] no ssl intercept - question how it works

2021-08-11 Thread Amos Jeffries
On 12/08/21 4:06 am, robert k Wild wrote: Great thanks Amos as always So shall I leave this ssl bump lines in ssl_bump splice NoSSLIntercept ssl_bump peek DiscoverSNIHost ssl_bump bump all And delete this one acl step1 at_step SslBump1 ssl_bump peek step1 ssl_bump bump all As your right