0
votes
2answers
22 views

Add many entries to SPAudit

I want to create multiple entries of SPAudit for test it before use it in real environment. I supposed that I just can open a web many times and generate as many entries as I want. So i wrote this: ...
0
votes
0answers
14 views

SPAudit doesn't catch list updating?

I just want to get all entries from SPAudit. Code is: public static IList<AuditEntry> All { get { IList<AuditEntry> source = null; ...
0
votes
2answers
37 views

How to change SPAudit entries?

For example, I want to get all audit entries and increase EventDate on one hour, and after save changes. So generaly I want to be able to change SPAuditEntry properties and after update all changes in ...
0
votes
0answers
91 views

SharePoint Audit log is not recording the Library documents viewed in browser. If i downloaded the document then it is recorded

public void getlog() { SPSecurity.RunWithElevatedPrivileges(delegate() { if (!string.IsNullOrEmpty("SiteUrl")) { using (SPSite site = new SPSite("SiteUrl")) ...
0
votes
0answers
87 views

Read item level audit information from Sharepoint Online (office 365)

I want to read item level audit information from SharePoint online. We can do this easily in an on-premise environment using SPAuditQuery and restrictToListItem() method. Please suggest some ...
2
votes
2answers
274 views

Restrict SPAuditQuery to return only results from a single SPWeb

It seems there is no simple way to only return results from an SPWeb and not the entire site collection when using SPAuditQuery to query the audit log. It's possible to use both: ...
0
votes
1answer
183 views

What does the field <newauditmask> in the audit logs mean?

I see this in the Eventdata field of audit log reports for the event 'Audit mask change' <NewAuditMask>15295</NewAuditMask> <NewAuditMask>0</NewAuditMask> ...
1
vote
0answers
243 views

There's a way to sort the SPAuditQuery at Query construction level?

If we have SPAuditQuery auditQuery = new SPAuditQuery(context.Site); auditQuery.RestrictToListItem(item); auditQuery.RowLimit = (uint)numberOfEvents; auditQuery.SetRangeStart(startRange); ...
3
votes
1answer
1k views

Can I Access the SPAuditQuery from the JavaScript Class Library?

Or there's a SP2010 Built-in service to access Audit data? [UPDATE] Quick awnser, No, there's no way to access the SPAuditQuery from the SP JavaScript Class Library. At the end I end up using a WCF ...