Skip to main content

SharePoint JSON Log File

The JSON log file format is used to send SharePoint activity monitoring data to Enterprise Auditor v10.0 consoles. The following information lists all of the attributes generated by SharePoint Activity Monitor into a JSON log file:

Attribute NameDescriptionExample
TimeLoggedDateTime/ string2019-03-14T18:13:39.00Z
ActivityTypeConstant “SharePoint”SharePoint
AgentHostHost name where agent is installedsphost
UserSidUser SID who caused the eventS-1-0-0
UserNameUser Name who caused the eventSystem Account
UserIDID of the user who caused the event1073741823
UserLoginUser Login who caused the eventSHAREPOINT\system
ProtocolProtocol: HTTP / HTTPS..HTTP
AbsoluteUrlFull Url: SiteUrl + DocLocationhttp://sphost/Lists/Comments/1_.000
WebApplicationWeb application nameSharePoint – 80
SiteIdSite Id (guid)7b2c8d23-a74f-4c3c-985d-2c7facb5ebae
SiteUrlSite Urlhttp://sphost/sites/mysite
WebTitleWeb titlemy site
DocLocationLocation of an audited object at the time of the audited eventLists/Comments/1_.000
ItemIdA Guid that the object whose event is represented by the entry2c4174dc-322d-47bc-a420-52968fc3ba6c
ItemTitleTitle of the objectWelcome to my blog!
ItemTypeType of the object: Document / ListItem / List / Folder / Web / SiteListItem
EventTypeAn SPAuditEventType that represents the type of eventUpdate
EventSourceA value that indicates whether the event occurred as a result of user action in the SharePoint Foundation user interface (UI) or programmatically. Values: SharePoint / ObjectModelSharePoint
LocationTypeSpecifies the actual location of a document in a SharePoint document library: Invalid, Url, ClientLocationUrl
AppPrincipalIdThe ID of the app principal who caused the event. If the value of EventSource is ObjectModel, thenAppPrincipalId holds the ID of the app principal whose context the code that caused the event was running. If there is no app context, the AppPrincipalId is null.0
SourceNameThe name of the application that caused the event<empty>
RawEventDataA String that holds XML markup providing data that is specific to the type of event that the entry object represents.<RelatedItem><Id>06C49477-0498-4858-900C-45B595337462</Id><Relationship><NewName>MyDocs/myfile.zip</NewName></Relationship></RelatedItem>
AuditMaskThe new audit mask[“CheckIn”,“View”,“Delete”,“Update”]
ChildIdThe GUID of the child that is deleted/moved.06C49477-0498-4858-900C-45B595337462
ChildDocLocationThe pre-deletion URL of the child itemLists/Posts/2_.000
NewDocLocationThe URL to which the item is movedMyNewDocs/myfile.zip
VersionThe new version of the document / The version that was deleted1.0
DeleteTypeWhether it is moved to the recycle bin (1) or is deleted completely (0). 1 - MovedToRecycle; 0 - DeletedCompletelyMovedToRecycle
SearchQuerymyfile
SearchConstraintsite:“http://sphost/sites/mysite”
GroupIdThe ID of the new/deleted group The ID of the group that was bound to the role11
GroupNameThe name of the new/deleted group The name of the group that was bound to the roleMy Super Group
TrusteeIdThe ID of the user that was added/deleted from the group The ID of the user that was bound to the role8
TrusteeNameThe Name of the user/group that was added/deleted from the group The Name of the user/group that was bound to the rolespuser
TrusteeTypeThe name is the name of group or user: User / GroupUser
UpdateTypeAdded or RemovedAdded, Removed, or Updated
RoleIdThe ID of the new/changed/deleted permission level1073741924
RoleNameThe name of the new/changed/deleted permission levelMy Role
PermissionsThe combination of permissions[“ViewListItems”,“AddListItems”,“EditListItems”]