Hi Leif,
Yes we discussed that too but i wanted simple list of TOP URLs e.g:

    1410 www.hafeezcentre.pk
   1055 javedch.com
    938 jang.com.pk
    888 www.geo.tv
    764 pagead2.googlesyndication.com
    502 photo-cdn.urdupoint.com
    453 www.google-analytics.com
    353 paperpk.com
    330 www.rozee.pk
    328 ds.serving-sys.com
    267 ia.media-imdb.com
    252 www.express.com.pk
    243 cdn.gsmarena.com
    240 i.dawn.com
    237 propakistani.pk
    219 www.dawn.com
    214 www.zemtv.com
    194 i1.tribune.com.pk
    190 www.google.com
    189 api.gameanalytics.com
    178 app.hamariweb.com


On 2/10/2016 11:50 PM, Leif Hedstrom wrote:
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