CHART Output Format Examples

Top 20 URL's

Create a chart containing the TOP 20 URL's in the "www.margiestravel.com" web site:
LogParser "SELECT TOP 20 cs-uri-stem, COUNT(*) AS Hits INTO MyChart.gif FROM <www.margiestravel.com> GROUP BY cs-uri-stem ORDER BY Hits DESC" -chartType:Column3D -groupSize:1024x768

Bytes per Page Type

Create a pie chart with the distribution of bytes served for each page type:
LogParser "SELECT TO_UPPERCASE(EXTRACT_EXTENSION(cs-uri-stem)) AS PageType, MUL(PROPSUM(sc-bytes),100.0) AS Bytes INTO Pie.gif FROM <1> GROUP BY PageType ORDER BY Bytes DESC" -chartType:PieExploded -chartTitle:"Bytes per page type" -categories:off

© 2004 Microsoft Corporation. All rights reserved.