![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| | |||||||
| | Vista - Verb Counts - Log Parser Column Charting |
| |
| 08-31-2009 | #1 (permalink) |
| | Verb Counts - Log Parser Column Charting Mmm since this is the year of data parsing and charting (and yes Regex is also included), then perhaps time for more charting information! "Log Parser" - Bing http://www.bing.com/search?q=%22Log+Parser%22 PS > LogParser.exe -h -o:chart Output format: CHART (Chart Output Format) Writes output to a chart image file Anyway using PowerShell: $lp = (Get-Command LogParser.exe).FileVersionInfo.FileName $title = "PowerShell 2.0 RTM Verb Group Counts" # The parsed data for demo. $verbGroupInfo = @" VerbGroupName,TotalCount,TotalNewInRcRtm TotalVerbs,96,20 Common,32,10 Communications,6,0 Data,24,2 Diagnostic,7,0 Lifecycle,20,6 Other,1,0 Security,6,2 "@ # From a file or STDIN # $verbGroupInfo | out-file verbsInfo.csv -encoding ascii $verbGroupInfo | & $lp "SELECT VerbGroupName,TotalCount,TotalNewInRcRtM INTO testChart.gif FROM STDIN " -i csv -stats off -o chart ` -chartType ColumnClustered -chartTitle $title invoke-item testChart.gif " " "Done!" " " Exit And of course one can make this as pretty as one wants with the option -config - that points to a VBScript or JScript file that defines the ChartSpace object settings! PowerShell 2 RTM should make one want to include all these exciting graphics within one's boss's reports! As always enjoy the automation of tools, including graphic tools, within the Windows-based, .NET aware, WPF accessible, multi-processes on the same IP / Port usage, admin's automation tool, powershell.exe! |
| My System Specs |
![]() |
| Thread Tools | |
| |
| Similar Threads for: Verb Counts - Log Parser Column Charting | ||||
| Thread | Forum | |||
| Verb Counts - Log Parser DataGrid | PowerShell | |||
| Verb Counts - Log Parser Pie Charting | PowerShell | |||
| Verb Counts - WPF Pie Charting | PowerShell | |||
| Verb Counts - WPF DataGrid | PowerShell | |||
| Verb Counts - WPF Column Charting | PowerShell | |||