Cool. Note that traffic_logstats can give metrics per URL as well.

-- Leif 

> On Feb 10, 2016, at 10:44 AM, Muhammad Faisal <[email protected]> wrote:
> 
> Hi All,
> Thanks everyone for your response. Bryan Call on IRC helped me out with a 
> marvelous piece of code that give top 50 URLs. Below is for everyone 
> reference:
> 
> traffic_logcat /usr/local/var/log/trafficserver/squid.blog | cut -f 7 -d ' ' 
> | perl -ne 'print "$1\n" if (m|http://([^/]+)|)' | sort | uniq -c | sort -rn 
> | head -50
> 
> Thanks
> F.
> IRC: zoot
> 
> On 2/10/2016 10:28 PM, James Peach wrote:
>>> On Feb 10, 2016, at 9:11 AM, Muhammad Faisal <[email protected]> wrote:
>>> 
>>> Hi,
>>> How can i see the top websites URL being requested by users in order to 
>>> tune the cache.config accordingly. Is there any way to list the URLs with 
>>> ATS?
>> traffic_logstats can help here.
>> 
>> http://trafficserver.readthedocs.org/en/latest/appendices/command-line/traffic_logstats.en.html
> 

Reply via email to