Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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]

...

Code Block
languagejs
linenumberstrue
{
	"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 "
}


 

FieldDescription
AuditDateTimeThe time stamp
PerformedByThe username of the current user
PerformedByIpThe IP number of the client if any
PerformedByContextInfo about the execution context
AuditTypeAllowed/Denied/Insert/Update/Delete
EntityIdentifierThe domain id of the entity (e.g. user/object) related to the audit log
EntityStorageIdThe database id of the entity (e.g. user/object) related to the audit log
DetailsCustom message
ChangedPropertiesList updated propertied including pre and post values.
RequestUrl                                  The URL of the request that resulted in the audit log if any

Example


Code Block
languagetext
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"}

...