Navigation

Trigger Logs

Overview

Trigger logs are created whenever MongoDB Realm executes a Function via a Trigger.

Log Format

Trigger log entries have the following form:

Logs:
[
   <log line>,
   <log line>,
   ...
]

 See Function. See Trigger.

 Compute Used: <number> bytes•ms

Fields

Field Description
Compute Used The computational load of the operation.
Logs A list of console.log outputs. MongoDB Realm saves the first 256 bytes of the first 10 console.log() calls.
See Function. See Trigger. Links to the Trigger that launched this event as well as the Function that was run by this event.

Error Fields

Log entries created by unsuccessful operations may feature additional fields for debugging purposes. These include the following:

Field Description
Error A brief description of an error.
←   Service Logs Schema Logs  →