regarding SharePoint On Premise Audit logs

%3CLINGO-SUB%20id%3D%22lingo-sub-1453913%22%20slang%3D%22en-US%22%3Eregarding%20SharePoint%20On%20Premise%20Audit%20logs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1453913%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Emy%20scenario%20is%20I%20uploaded%20a%20document%20into%20the%20Document%20Library%20and%20click%20the%20document%20to%20read%20(.txt%2F%20.docx).%20normally%20the%20behavior%20should%20be%20regarded%20as%20%5BView%5D%20or%20%5BRead%5D.%20my%20question%20is%20when%20I%20use%20%26lt%3B%3CEM%3E%3CSTRONG%3EsPAuditQuery.AddEventRestriction(SPAuditEventType.View)%3C%2FSTRONG%3E%3C%2FEM%3E%26gt%3B%2C%20I%20cannot%20get%20any%20data.%3C%2FP%3E%3CP%3Edoes%20anyone%20have%20any%20idea%20on%20it%3F%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eanother%20question%20is%20whether%20or%20not%20we%20could%20get%20%5BDOWNLOAD%5D%20this%20event%20from%20Audit%20Log%3F%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1453913%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPIs%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Frequent Contributor

Hi there,

 

my scenario is I uploaded a document into the Document Library and click the document to read (.txt/ .docx). normally the behavior should be regarded as [View] or [Read]. my question is when I use <sPAuditQuery.AddEventRestriction(SPAuditEventType.View)>, I cannot get any data.

does anyone have any idea on it??

 

another question is whether or not we could get [DOWNLOAD] this event from Audit Log??

 

Thanks

 

0 Replies