Basically syslogd can do what you want : send via
TCP, HTTP, UDP So the deal is to use logformat my_metrics [statsd] %icap::tt %<pt %tr icap_log: syslog:local6.info my_metrics and add a file inside /etc/rsyslog.d/icap_metrics.conf if ($programname =='squid') then { if ($msg contains "[statsd]") then { action(type="omfwd" Target="x.x.x.x" Port="1825" Protocol="tcp") } & stop } Le 11/08/2021 à 10:51, Moti Berger a
écrit :
|
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users