Hi!
You can use logs_xml.config for that.
example
<LogFilter>
<Name = "filter_TCP_HIT"/>
<Condition = "crc MATCH TCP_HIT"/>
<Action = "ACCEPT"/>
</LogFilter>
<LogFormat>
<Name = "format_TCP_HIT_mydomain.com/>
<Format =
"mydomain.com,TCP_HIT,%<LAST(cqtq)>,%<COUNT(*)>,%<SUM(psql)>"/>
<Interval = "60"/>
</LogFormat>
<LogObject>
<Filename = "mydomain.com_TCP_HIT"/>
<Format = "format_TCP_HIT_mydomain.com"/>
<ServerHosts = "mydomain.com"/>
<Filters = "filter_TCP_HIT"/>
</LogObject>
More info
https://trafficserver.apache.org/docs/trunk/admin/configuration-files/logs_xml.config.en.html
Regards
Johan
12 aug 2013 kl. 14:38 skrev Noam Schiff <[email protected]>:
> Hi,
>
> Is there a way to measure the cache hit ratio in the traffic server?
>
> Thanks,
> -Noam