Count number of downloads using Logparser

Time to time I use Logparser to extract information from IISLogs.  Here is a query to extract the top 10 downloads.

logparser.exe "select top 10 count(*) as hits, cs-uri-stem from ex*.log where cs-uri-stem like '%.zip%' group by cs-uri-stem order by hits DESC"

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: