Format
The audit logs are stored as text files on the server in the folder <Logs>/Audit/<date>.[system].audit.log in the following line format. Not that each line is not a valid JSON object.
[Date and Timestamp]|[JSON OBJECT]
JSON OBJECT
{ "AuditDateTime":"2017-12-04T12:22:25.3788728+01:00", "PerformedBy":"admin@meridix.se", "PerformedByIp":"::1", "PerformedByContext":"IIS Web Application", "AuditType":"Allowed", "EntityFullName":null, "OperationType":"OpenSpecification", "EntityIdentifier":null, "EntityStorageId":0, "Details":"Specification type: CallSpecificationRecord", "ChangedProperties":"", "RequestUrl":"/Reports/Specification " }
Field | Description |
---|---|
AuditDateTime | The time stamp |
PerformedBy | The username of the current user |
PerformedByIp | The IP number of the client if any |
PerformedByContext | Info about the execution context |
AuditType | Allowed/Denied/Insert/Update/Delete |
EntityIdentifier | The domain id of the entity (e.g. user/object) related to the audit log |
EntityStorageId | The database id of the entity (e.g. user/object) related to the audit log |
Details | Custom message |
ChangedProperties | List updated propertied including pre and post values. |
RequestUrl | The URL of the request that resulted in the audit log if any |
Example
2017-12-04 12:22:18.3443|{"AuditDateTime":"2017-12-04T12:22:18.3443557+01:00","PerformedBy":"admin@meridix.se","PerformedByIp":"","PerformedByContext":"IIS Web Application","AuditType":"Allowed","EntityFullName":null,"OperationType":"ReportExecution","EntityIdentifier":null,"EntityStorageId":0,"Details":"Created a 'BcsUserId' report for the period '2017-11-27 00:00:00Z'->'2017-12-04 00:00:00Z' on 'johan.wendelstam@480'","ChangedProperties":null,"RequestUrl":""} 2017-12-04 12:22:25.3643|{"AuditDateTime":"2017-12-04T12:22:25.3788728+01:00","PerformedBy":"admin@meridix.se","PerformedByIp":"::1","PerformedByContext":"IIS Web Application","AuditType":"Allowed","EntityFullName":null,"OperationType":"OpenSpecification","EntityIdentifier":null,"EntityStorageId":0,"Details":"Specification type: CallSpecificationRecord","ChangedProperties":null,"RequestUrl":"/Reports/Specification?ref=%2fReports%2fAdvanced%3fmc%3dTelepoBcs%26m%3dBcsCdrV2%26bfm%3dtrue&stn=Meridix.Studio.Common.CallSpecificationRecord"}