Log Parser Plus example query

Domains referring traffic for resources.

Returns a listing of domains that referred traffic to the site.
Keywords:
  • iisw3c
Statement:
logparser -rtp:-1 "SELECT EXTRACT_TOKEN(cs(Referer), 2, '/') AS [Domain], COUNT(*) AS [Requests] INTO ReferringDomains.txt FROM ex0902*.log GROUP BY [Domain] ORDER BY [Requests] DESC"

View more examples

blog comments powered by Disqus