Newer Version Available

This content describes an older version of this product. View Latest

Database Save Event Type

Database Save events track when records are created, updated, or deleted. This object is available in API version 63.0 and later.

For details about event monitoring, see the Trailhead Event Monitoring module or REST API Developer’s Guide.

Fields

Field Details
DML_TYPE
Type
String
Description
The type of DML statement.
EVENT_TYPE
Type
Id
Description
The type of event.
FIRST_ENTITY_ID
Type
String
Description
The first ID that is logged when an update occurs. If a single record is updated, the ID of that row is logged. If multiple records are updated, only one ID is logged.
KEY_PREFIX
Type
String
Description
The key prefix of the entity type that was saved.
LOGIN_KEY
Type
String
Description
The string that ties together all events in a given user’s login session. 
NUM_ROWS
Type
String
Description
The number of entities that were saved.
ORGANIZATION_ID
Type
Id
Description
The 15-character ID of the organization.
REQUEST_ID
Type
String
Description
Globally unique id for a given request.
SAMPLE_FACTOR
Type
Number
Description
The ratio of saved entities that were logged. A value of 1 means every entity saved was logged. A value of 100 means that 1 out of 100 entities saved was logged.
SESSION_KEY
Type
String
Description
The user’s unique session ID. You can use this value to identify all user events within a session. When a user logs out and logs in again, a new session is started.
Example
d7DEq/ANa7nNZZVD
TIMESTAMP
Type
String
Description
The Timestamp at which the log event was generated.
TIMESTAMP_DERIVED
Type
DateTime
Description
The access time of Salesforce services in ISO8601-compatible format (YYYY-MM-DDTHH:MM:SS.sssZ).
Example
2015-07-27T11:32:59.555Z
USER_ID
Type
Id
Description
The ID of the user who’s using Salesforce services through the UI or the API.
Example
005XXXXXXXXXXXX