<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MattLog.net &#187; LogParser</title>
	<atom:link href="http://mattlog.net/tag/logparser/feed/" rel="self" type="application/rss+xml" />
	<link>http://mattlog.net</link>
	<description>All things IT Pro</description>
	<lastBuildDate>Mon, 19 Dec 2011 04:10:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>IIS LogParser &#8211; Hits in last 7 Days</title>
		<link>http://mattlog.net/2009/05/18/iis-logparser-hits-in-last-7-days/</link>
		<comments>http://mattlog.net/2009/05/18/iis-logparser-hits-in-last-7-days/#comments</comments>
		<pubDate>Mon, 18 May 2009 07:01:59 +0000</pubDate>
		<dc:creator>Matt Shadbolt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Hits last 7 days]]></category>
		<category><![CDATA[LogParser]]></category>

		<guid isPermaLink="false">http://mattlog.net/?p=156</guid>
		<description><![CDATA[Here&#8217;s a LogParser query I&#8217;ve written that will output the top hits for your website within the last 7 days. All you need to do is change the path of the log file location: SELECT  COUNT(*) AS Hits, cs-uri-stem AS Page FROM D:\LogFilePat*.* WHERE TO_DATE(Date) &#62;= TO_DATE(SUB(SYSTEM_TIMESTAMP(), TO_TIMESTAMP(&#8217;01-07&#8242;, &#8216;MM-dd&#8217;))) GROUP BY cs-uri-stem ORDER BY Hits [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a LogParser query I&#8217;ve written that will output the top hits for your website within the last 7 days. All you need to do is change the path of the log file location:</p>
<p>SELECT  COUNT(*) AS Hits, cs-uri-stem AS Page<br />
FROM D:\LogFilePat*.*<br />
WHERE<br />
TO_DATE(Date) &gt;= TO_DATE(SUB(SYSTEM_TIMESTAMP(), TO_TIMESTAMP(&#8217;01-07&#8242;, &#8216;MM-dd&#8217;)))<br />
GROUP BY cs-uri-stem<br />
ORDER BY Hits DESC</p>
]]></content:encoded>
			<wfw:commentRss>http://mattlog.net/2009/05/18/iis-logparser-hits-in-last-7-days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

