Docs Menu
Docs Home
/ /
Atlas App Services
/ /

Change Stream Logs

On this page

  • Overview
  • Log Format
  • Fields

Change Stream log events are created whenever a user opens or closes a change stream on a linked data source using the watch() API.

Change Stream log entries have the following form:

{
"arguments": [
{
"collection": <collection>,
"database": <database>,
"filter": {
"documentKey._id": {
"$in": [
{
"$oid": <uid>
}
]
}
},
"useCompactEvents": <bool>
}
],
"name": "watch",
"service": "mongodb-atlas"
}
Function Call Location: <location>
Remote IP Address: <ip address>
SDK: <sdk>
Platform Version: <version>>
Field
Description
Remote IP Address
The IP address that sent the request to Atlas App Services (e.g. 52.21.89.200).
Platform Version
The version of the platform that sent the request.
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 4.0.0 running on Mozilla Firefox:

SDK: firefox v4.0.0

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

SDK: android v4.6.0
Function Call Location
The data center in which the function was executed.

Back

Authentication Logs