Tuesday, November 9, 2010

Log Parser Charts on 64-bit Windows Boxes

I need to generate some charts from Windows Event Log files on a couple of 64-bit Win2008 and Win7 boxes and got the following error from Log Parser:

LogParser.exe : Error creating output format "CHART": This output format requires a licensed Microsoft Office Chart Web Component to be installed on the local machine

A quick web search revealed that Log Parser requires a copy Microsoft Office Web Components (OWC) to generate charts. I downloaded a copy, installed, and Log Parser started producing charts. 

The OWC install includes some programming references that can be located with the help of KB319793.  The documentation is in “C:\Program Files (x86)\Common Files\microsoft shared\Web Components\10\1033” on my Win7 x64 box. Or you can check out the ChartSpace Object Model documentation on MSDN.

After spelunking the LogParser and OWC docs it appears OWC supports GIF, JPG and PNG output. Unfortunately,  LogParser only supports GIF and JPG charts. I’d really prefer a scalable vector format.

No comments: