SharePoint Audit Solution

I’ve written some code for SharePoint 2010 (is also possible to make work with SharePoint 2007) that allows users to view audit information relating to site, list and individual items.

I’ve also added the code to Codeplex, which you can download by clicking this link. The code in the project should be straight forward enough to follow and understand.

Basically, the project comprises of some layout pages which reuse a configurable user control to display auditing information within a paged grid control. Access to these pages is either via the edit control block (ECB) context menu or the ribbon interface.

Once deployed, activate the Item Level Auditing web feature.

You will now notice a view audit log menu item in the site actions menu:

In the ribbon for a library:

In the ribbon for a list item:

and in the ECB for a list item:

As an example, clicking the menu item while on a list item, the following audit information page is loaded:

The contents of the output are cached, which is all configurable through the AuditLogView user control. The columns that are displayed for each audit type (site, list or item) are also configurable by editing the corresponding class.

This entry was posted in SharePoint and tagged , . Bookmark the permalink.
0 0 votes
Article Rating
Notify of

Solve the maths problem shown below before posting: *

Inline Feedbacks
View all comments

How can we track view event for list items? This solution tracks it only for document library.

Panos Sid

Can you please tell me how to enter the user control for the auditlogview feature? thank you in advance

Panos Sid

ok, so i have included a screenshot of the menu in the audit list item page where you can see the types of audits that it has found, although i have viewed the list item several times. what am i doing wrong?

comment image


First of all very good work congratulations
I have downloaded the latest version. For the event “view list item” i can only see the view of the list not specific list item view.
Is this possible through your tool?
thx in advance


possible to share the code?


Sorry I didn’t see download section tab 🙂



I can’t seem to see ‘view’ events on list items. I did just download this so believe I am up to date. I can see edits for list items, and views for doc library items.


Hi Stuart,

I am also not getting the “view” event for item level eventhough I have downloaded the latest version of code, only I am getting update event log entry for item level. Can you please share the code if you have for “view” event.


Yes I have already done that, still it is working only for document library not for custom list item level view event.


I am also unable to see View event for list items. Verified the site collection audit settings. Opening or downlaod… is checked. Please help.