Skip to main content

SharePoint JSON Log File

Use the JSON log file format to send SharePoint activity monitoring data to Access Analyzer v10.0 consoles. The following lists all attributes that SharePoint Activity Monitor generates into a JSON log file:

Attribute NameDescriptionExample
TimeLoggedDateTime/ string2019-03-14T18:13:39.00Z
ActivityTypeConstant “SharePoint”SharePoint
AgentHostHost name where agent is installedsphost
UserSidThe SID of the user who triggered the eventS-1-0-0
UserNameThe name of the user who triggered the eventSystem Account
UserIDThe ID of the user who triggered the event1073741823
UserLoginThe login name of the user who triggered 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
ItemIdThe GUID of the object that the entry represents2c4174dc-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 that triggered the event. If EventSource has the value ObjectModel, AppPrincipalId holds the ID of the app principal whose context ran the code that triggered the event. If no app context exists, 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></RelatedItem
AuditMaskThe new audit mask[“CheckIn”,“View”,“Delete”,“Update”]
ChildIdThe GUID of the child item that you deleted or moved06C49477-0498-4858-900C-45B595337462
ChildDocLocationThe pre-deletion URL of the child itemLists/Posts/2_.000
NewDocLocationThe URL to which you moved the itemMyNewDocs/myfile.zip
VersionThe new version of the document / The version that was deleted1.0
DeleteTypeWhether you moved it to the recycle bin (1) or deleted it 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
TrusteeTypeIndicates whether this entry represents a group or a 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”]