Log Parser Plus example query
Requests per day
Returns a listing of dates with the total number of requests.
Keywords:
- iisw3c
Statement:
Leave a comment on this query.
logparser -rtp:-1 "SELECT TO_STRING(TO_LOCALTIME(TO_TIMESTAMP(date, time)), 'yyyy-MM-dd') AS [Day], COUNT(*) AS [Requests] INTO DayReport.txt FROM ex1003*.log GROUP BY [Day] ORDER BY [Day]"
blog comments powered by Disqus