Usage Analysis Processing logs
Here is a simple utility I wrote to process the MOSS usage logs (when turned on at Central Administration >> Operations >> Usage Analysis Processing ). Sometimes it's useful to have alternate source for the user activity, than the usage reports offered in MOSS OOB through the Site Settings.
I have slightly modified the Parser class found at https://www.sharepointblogs.com/wpowell/archive/2007/06/22/moss-usage-log-processing-file-processing.aspx . The MOSSLogParser.exe utility loops through all log files and creates a single CSV file, ready for Excel pivot tables.
the syntax: MOSSLogParser.exe <start_path> <search_pattern>
- start_path - path to the folder where logs files are defined. The parser will look down, traversing sub-folder structure. Default value is: "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Logs" Note the absense of ending slash
- search_pattern - the pattern used to filter the logs. Default value is "0*.log"
samples:
- MOSSLogParser.exe
- MOSSLogParser.exe \\share\logs
- MOSSLogParser.exe E:\usage "*.log"
Comments
Anonymous
January 29, 2009
Hi, When I run this program I get the following error: "Index and count must refer to a location within the buffer. Parameter name: bytes" Does anyone know what this means? Thanks, SunnyAnonymous
January 09, 2011
When i try to run the exe i got the below error. Description: Stopped working Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: mosslogparser.exe Problem Signature 02: 1.0.0.0 Problem Signature 03: 4729e08f Problem Signature 04: MOSSLogParser Problem Signature 05: 1.0.0.0 Problem Signature 06: 4729e08f Problem Signature 07: 1f Problem Signature 08: 2 Problem Signature 09: System.IndexOutOfRangeException OS Version: 6.1.7600.2.0.0.274.10 Locale ID: 1033Anonymous
August 18, 2014
Hello, I know this post is old. However, your utility is awesome! I was wondering if you had a similar utility for SharePoint 2010 and 2013 usage logs. I tried using this tool and it is not rendering any results. Kindest Regards, Rose