Data entity
SysDatabaseLogEntity
Read-only entries from the database log. Each entry records the table and record that changed, the log type, the old and new data, the company and who created it and when. It is keyed by table record ID, log record ID and table ID number.
- Entity name
SysDatabaseLogEntity- Public entity name
DatabaseLog- OData collection
DatabaseLogs- Category
Not set- Module
System administration- Read-only
Yes- Data management enabled
Yes- Configuration key
None- Keys
TableRecId, LogRecId, TableIdNumber- Staging table
SysDatabaseLogStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/DatabaseLogs- Dataverse virtual table
mserp_sysdatabaselogentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
SysDataBaseLog· root
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
LogCreatedByThe user who created the record. | String (20)CreatedBy | No | Yes | SysDataBaseLog.CreatedBy | |
LogCreatedDateTimeThe date and time when the record was created. | UtcDateTimeCreatedDateTime | No | Yes | SysDataBaseLog.CreatedDateTime | |
LogCreatedTransactionIdA system number for the database transaction that created the record. | Int64CreatedTransactionId | No | Yes | SysDataBaseLog.CreatedTransactionId | |
DataLogged data stored as a binary container. | ContainerBlobdata | No | Yes | SysDataBaseLog.Data | |
LogDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | SysDataBaseLog.DataAreaId | |
DescriptionText that identifies the record the log entry is about. | String (-1) | Yes | Yes | SysDataBaseLog.Description | |
LogRecIdSystem record ID of the logged record. | Int64RefRecId | Yes | Yes | Common.RecId | SysDataBaseLog.LogRecId |
LogTypeType of log entry. | Enum
| No | Yes | SysDataBaseLog.LogType | |
NewDataLong text with the new data. Purpose not clear from the metadata.low confidence | String (-1) | No | Yes | SysDataBaseLog.NewData | |
LogPartitionA system field for the data partition. In most environments every record has the same value. | Int64Partition | No | Yes | SysDataBaseLog.Partition | |
TableRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | SysDataBaseLog.RecId | |
TableRecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. | IntegerRecVersion | No | Yes | SysDataBaseLog.RecVersion | |
SequenceNumberSequence number of the log entry. Purpose not clear from the metadata.low confidence | Int64 | No | Yes | SysDataBaseLog.SequenceNumber | |
TableIdNumberID of the table that the logged record belongs to. | IntegerRefTableId | Yes | Yes | SysDataBaseLog.table | |
UsernameName of the user who created the log entry. | String (60)UserName | No | Yes | SysDataBaseLog.Username | |
FormattedDataLogged data shown as readable text.low confidence | String | No | Yes | computed | |
TableNameName of the table the log entry refers to. | String (30) | No | Yes | computed |
Foreign keys (1)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
LogRecId→Common.RecId(key of Common)Many SysDataBaseLog records → exactly one Common record
Not exposed by a public entity.
Need help with SysDatabaseLogEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.