<div dir="ltr">Hi<div><br></div><div>I want to send metrics to statsd, so I tried doing the following:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">logformat metrics_statsd my_service_latency:%{my_service}adapt::sum_trs|ms\nicap_total:%icap::tt|ms<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">access_log tcp://<a href="http://1.2.3.4:8125">1.2.3.4:8125</a> logformat=metrics_statsd </blockquote><div><br></div><div>In statsd daemon I see only the first (it supports multiple metrics separated by \n - <a href="https://github.com/statsd/statsd/blob/master/docs/server.md">https://github.com/statsd/statsd/blob/master/docs/server.md</a>)</div><div>From <a href="http://www.squid-cache.org/Doc/config/logformat/">http://www.squid-cache.org/Doc/config/logformat/</a> I understand that '\n' is what I need to use in order to get a new line, but it seems I get two characters instead - '\' and 'n'.</div><div>What is the proper way to have a new line?</div><div><br></div><div>Thanks,</div><div>Moti</div></div>