Navigation

Schema Logs

On this page

Overview

Events related to your Realm app’s Realm Schema create schema logs. This includes both additive and destructive schema updates to tables and fields as well as the collection scans used to automatically generate schemas based on the form of existing documents.

Fields

Field Description
Type The kind of event that effected the schema.
Logs

Important information about the schema update. This can include:

  • Whether the schema change originated in a client while developer mode was enabled or from the MongoDB Realm backend.
  • The name of the table the schema change effected.
  • The name of the field added or removed from the table.
  • Whether or not the field is/was an embedded list type.
  • Whether or not the field is/was required.
  • The type of the field added or removed from the table.
  • If a new table was created, the primary key field name and type.
SDK

The SDK used to send the request. Potential values include any SDK. For a browser, this is <browser> <SDK version>.

Example

This request came from the Realm Web SDK version 10.0.0 running on Mozilla Firefox:

SDK: firefox v10.0.0

This request came from the Realm Android SDK version 10.0.0 running on Android Marshmallow:

SDK: android v10.0.0
Platform Version The version of MongoDB Realm that processed the change.
Rule Performance Metrics A summary of the roles, schema, and filters applied to a return value. Provides the number of documents that a role applies to as well as the number of fields in those documents that Realm evaluated and potentially withheld.
←   Trigger Logs Sync Logs  →