Path parameters
-
An Atlas Project/Group ID.
-
The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.
Query parameters
-
Return only log messages associated with the given request Correlation ID.
-
The value of this field does not matter. If included in the request, this endpoint only returns error logs (even if the value is set to
false
). If this field is excluded from the request, this endpoint only returns non-error logs. -
Return only log messages associated with the given
user_id
. -
The date and time in ISO 8601 at which to begin returning results, exclusive.
-
The date and time in ISO 8601 at which to cease returning results, inclusive.
-
The offset number of matching log entries to skip before including them in the response.
-
The maximum number of log entries to include in the response. If the query matches more than this many logs, it returns documents in ascending order by date until the limit is reached.
Minimum value is
1
, maximum value is100
. -
The kind of log you would like to retrieve.
Values are
TRIGGER_FAILURE
,TRIGGER_ERROR_HANDLER
,DB_TRIGGER
,AUTH_TRIGGER
,SCHEDULED_TRIGGER
,FUNCTION
,SERVICE_FUNCTION
,STREAM_FUNCTION
,SERVICE_STREAM_FUNCTION
,AUTH
,WEBHOOK
,ENDPOINT
,PUSH
,API
,API_KEY
,GRAPHQL
,SYNC_CONNECTION_START
,SYNC_CONNECTION_END
,SYNC_SESSION_START
,SYNC_SESSION_END
,SYNC_CLIENT_WRITE
,SYNC_ERROR
,SYNC_OTHER
,SCHEMA_ADDITIVE_CHANGE
,SCHEMA_GENERATION
,SCHEMA_VALIDATION
, orLOG_FORWARDER
.
Responses
-
Successfully retrieved.
Hide response attributes Show response attributes object
-
At most 100 results per request.
Not more than
100
elements.One of: APIobject APIKeyobject TriggerFailureobject TriggerErrorHandlerobject DBEventTriggerobject AuthEventTriggerobject ScheduledEventTriggerobject Functionobject ServiceFunctionobject StreamFunctionobject ServiceStreamFunctionobject Authobject IncomingWebhookobject Endpointobject Pushobject GraphQLobject SyncConnectionStartobject SyncConnectionEndobject SyncSessionStartobject SyncSessionEndobject SyncClientWriteobject SyncErrorobject SyncOtherobject SchemaAdditiveChangeobject SchemaGenerationobject SchemaValidationobject LogForwarderobject Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
Value is
API
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The user account ID of the user that initiated the logged operation.
-
The IP address that the logged operation originated from.
-
The HTTP status code returned in the operation response.
-
If a runtime error occurred in the logged operation, this is a message that describes the issue.
-
If a runtime error occurred in the logged operation, this is the error's short code.
-
The name of the platform that the client was running on.
-
The version of the platform that the client was running on.
-
The name of the Realm SDK used to make the request.
-
The version number of the Realm SDK used to make the request.
-
Value is
API_KEY
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
Value is
TRIGGER_FAILURE
. -
An error message that describes the failure.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The total billable memory used by the request.
-
The global region where the function was executed.
-
The cloud provider deployment region where the function was executed.
-
A list of logs or other messages associated with the operation.
-
The trigger's unique objectId hex.
-
The trigger's name.
-
Value is
TRIGGER_ERROR_HANDLER
. -
The ID of the original TRIGGER_FAILURE log that invoked the error handler.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The total billable memory used by the request.
-
The global region where the function was executed.
-
The cloud provider deployment region where the function was executed.
-
A list of logs or other messages associated with the operation.
-
The trigger's unique objectId hex.
-
The trigger's name.
-
Value is
DB_TRIGGER
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The total billable memory used by the request.
-
The global region where the function was executed.
-
The cloud provider deployment region where the function was executed.
-
A list of logs or other messages associated with the operation.
-
The trigger's unique objectId hex.
-
The trigger's name.
-
Value is
AUTH_TRIGGER
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The total billable memory used by the request.
-
The global region where the function was executed.
-
The cloud provider deployment region where the function was executed.
-
A list of logs or other messages associated with the operation.
-
The trigger's unique objectId hex.
-
The trigger's name.
-
Value is
SCHEDULED_TRIGGER
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The user account ID of the user that initiated the logged operation.
-
The IP address that the logged operation originated from.
-
The HTTP status code returned in the operation response.
-
If a runtime error occurred in the logged operation, this is a message that describes the issue.
-
If a runtime error occurred in the logged operation, this is the error's short code.
-
The name of the platform that the client was running on.
-
The version of the platform that the client was running on.
-
The name of the Realm SDK used to make the request.
-
The version number of the Realm SDK used to make the request.
-
The global region where the function was executed.
-
The cloud provider deployment region where the function was executed.
-
The total billable memory used by the request.
-
Value is
FUNCTION
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The user account ID of the user that initiated the logged operation.
-
The IP address that the logged operation originated from.
-
The HTTP status code returned in the operation response.
-
If a runtime error occurred in the logged operation, this is a message that describes the issue.
-
If a runtime error occurred in the logged operation, this is the error's short code.
-
The name of the platform that the client was running on.
-
The version of the platform that the client was running on.
-
The name of the Realm SDK used to make the request.
-
The version number of the Realm SDK used to make the request.
-
The global region where the function was executed.
-
The cloud provider deployment region where the function was executed.
-
Value is
SERVICE_FUNCTION
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The user account ID of the user that initiated the logged operation.
-
The IP address that the logged operation originated from.
-
The HTTP status code returned in the operation response.
-
If a runtime error occurred in the logged operation, this is a message that describes the issue.
-
If a runtime error occurred in the logged operation, this is the error's short code.
-
The name of the platform that the client was running on.
-
The version of the platform that the client was running on.
-
The name of the Realm SDK used to make the request.
-
The version number of the Realm SDK used to make the request.
-
The global region where the function was executed.
-
The cloud provider deployment region where the function was executed.
-
Value is
STREAM_FUNCTION
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The user account ID of the user that initiated the logged operation.
-
The IP address that the logged operation originated from.
-
The HTTP status code returned in the operation response.
-
If a runtime error occurred in the logged operation, this is a message that describes the issue.
-
If a runtime error occurred in the logged operation, this is the error's short code.
-
The name of the platform that the client was running on.
-
The version of the platform that the client was running on.
-
The name of the Realm SDK used to make the request.
-
The version number of the Realm SDK used to make the request.
-
The global region where the function was executed.
-
The cloud provider deployment region where the function was executed.
-
Value is
SERVICE_STREAM_FUNCTION
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The user account ID of the user that initiated the logged operation.
-
The IP address that the logged operation originated from.
-
The HTTP status code returned in the operation response.
-
If a runtime error occurred in the logged operation, this is a message that describes the issue.
-
If a runtime error occurred in the logged operation, this is the error's short code.
-
The name of the platform that the client was running on.
-
The version of the platform that the client was running on.
-
The name of the Realm SDK used to make the request.
-
The version number of the Realm SDK used to make the request.
-
Value is
AUTH
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The global region where the function was executed.
-
The cloud provider deployment region where the function was executed.
-
The total billable memory used by the request.
-
Value is
WEBHOOK
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The user account ID of the user that initiated the logged operation.
-
The IP address that the logged operation originated from.
-
The HTTP status code returned in the operation response.
-
If a runtime error occurred in the logged operation, this is a message that describes the issue.
-
If a runtime error occurred in the logged operation, this is the error's short code.
-
The name of the platform that the client was running on.
-
The version of the platform that the client was running on.
-
The name of the Realm SDK used to make the request.
-
The version number of the Realm SDK used to make the request.
-
The global region where the function was executed.
-
The cloud provider deployment region where the function was executed.
-
The total billable memory used by the request.
-
Value is
ENDPOINT
. -
The endpoint's unique objectId hex.
-
The endpoint route. Append this to your App's Data API base URL to construct the endpoint URL.
-
The endpoint request's HTTP headers, parameters, and body serialized to EJSON.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
Value is
PUSH
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The user account ID of the user that initiated the logged operation.
-
The IP address that the logged operation originated from.
-
The HTTP status code returned in the operation response.
-
If a runtime error occurred in the logged operation, this is a message that describes the issue.
-
If a runtime error occurred in the logged operation, this is the error's short code.
-
The name of the platform that the client was running on.
-
The version of the platform that the client was running on.
-
The name of the Realm SDK used to make the request.
-
The version number of the Realm SDK used to make the request.
-
The global region where the function was executed.
-
The cloud provider deployment region where the function was executed.
-
The total billable memory used by the request.
-
Hide rule_metrics attribute Show rule_metrics attribute object
-
Hide namespaces_metrics attribute Show namespaces_metrics attribute object
-
Metrics for a specific
database.collection
namespace.Hide * attributes Show * attributes object
-
-
-
Value is
GRAPHQL
. -
The raw requested GraphQL query or mutation.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The user account ID of the user that initiated the logged operation.
-
The IP address that the logged operation originated from.
-
The HTTP status code returned in the operation response.
-
If a runtime error occurred in the logged operation, this is a message that describes the issue.
-
If a runtime error occurred in the logged operation, this is the error's short code.
-
The name of the platform that the client was running on.
-
The version of the platform that the client was running on.
-
The name of the Realm SDK used to make the request.
-
The version number of the Realm SDK used to make the request.
-
The global region where the function was executed.
-
The cloud provider deployment region where the function was executed.
-
Value is
SYNC_CONNECTION_START
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The user account ID of the user that initiated the logged operation.
-
The IP address that the logged operation originated from.
-
The HTTP status code returned in the operation response.
-
If a runtime error occurred in the logged operation, this is a message that describes the issue.
-
If a runtime error occurred in the logged operation, this is the error's short code.
-
The name of the platform that the client was running on.
-
The version of the platform that the client was running on.
-
The name of the Realm SDK used to make the request.
-
The version number of the Realm SDK used to make the request.
-
The global region where the function was executed.
-
The cloud provider deployment region where the function was executed.
-
A list of logs or other messages associated with the operation.
-
Value is
SYNC_CONNECTION_END
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The user account ID of the user that initiated the logged operation.
-
The IP address that the logged operation originated from.
-
The HTTP status code returned in the operation response.
-
If a runtime error occurred in the logged operation, this is a message that describes the issue.
-
If a runtime error occurred in the logged operation, this is the error's short code.
-
The name of the platform that the client was running on.
-
The version of the platform that the client was running on.
-
The name of the Realm SDK used to make the request.
-
The version number of the Realm SDK used to make the request.
-
The global region where the function was executed.
-
The cloud provider deployment region where the function was executed.
-
The current subscription queries for this Device Sync session. This object maps object type names to the query for that type.
-
Usage metrics for the current Device Sync session.
-
Value is
SYNC_SESSION_START
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The user account ID of the user that initiated the logged operation.
-
The IP address that the logged operation originated from.
-
The HTTP status code returned in the operation response.
-
If a runtime error occurred in the logged operation, this is a message that describes the issue.
-
If a runtime error occurred in the logged operation, this is the error's short code.
-
The name of the platform that the client was running on.
-
The version of the platform that the client was running on.
-
The name of the Realm SDK used to make the request.
-
The version number of the Realm SDK used to make the request.
-
The global region where the function was executed.
-
The cloud provider deployment region where the function was executed.
-
A list of logs or other messages associated with the operation.
-
The current subscription queries for this Device Sync session. This object maps object type names to the query for that type.
-
Usage metrics for the current Device Sync session.
-
Value is
SYNC_SESSION_END
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The user account ID of the user that initiated the logged operation.
-
The IP address that the logged operation originated from.
-
The HTTP status code returned in the operation response.
-
If a runtime error occurred in the logged operation, this is a message that describes the issue.
-
If a runtime error occurred in the logged operation, this is the error's short code.
-
The name of the platform that the client was running on.
-
The version of the platform that the client was running on.
-
The name of the Realm SDK used to make the request.
-
The version number of the Realm SDK used to make the request.
-
The global region where the function was executed.
-
The cloud provider deployment region where the function was executed.
-
A list of logs or other messages associated with the operation.
-
The current subscription queries for this Device Sync session. This object maps object type names to the query for that type.
-
Usage metrics for the current Device Sync session.
-
Value is
SYNC_CLIENT_WRITE
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The user account ID of the user that initiated the logged operation.
-
The IP address that the logged operation originated from.
-
The HTTP status code returned in the operation response.
-
If a runtime error occurred in the logged operation, this is a message that describes the issue.
-
If a runtime error occurred in the logged operation, this is the error's short code.
-
The name of the platform that the client was running on.
-
The version of the platform that the client was running on.
-
The name of the Realm SDK used to make the request.
-
The version number of the Realm SDK used to make the request.
-
A list of logs or other messages associated with the operation.
-
Value is
SYNC_ERROR
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The user account ID of the user that initiated the logged operation.
-
The IP address that the logged operation originated from.
-
The HTTP status code returned in the operation response.
-
If a runtime error occurred in the logged operation, this is a message that describes the issue.
-
If a runtime error occurred in the logged operation, this is the error's short code.
-
The name of the platform that the client was running on.
-
The version of the platform that the client was running on.
-
The name of the Realm SDK used to make the request.
-
The version number of the Realm SDK used to make the request.
-
A list of logs or other messages associated with the operation.
-
The current subscription queries for this Device Sync session. This object maps object type names to the query for that type.
-
Usage metrics for the current Device Sync session.
-
Value is
SYNC_OTHER
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The user account ID of the user that initiated the logged operation.
-
The IP address that the logged operation originated from.
-
The HTTP status code returned in the operation response.
-
If a runtime error occurred in the logged operation, this is a message that describes the issue.
-
If a runtime error occurred in the logged operation, this is the error's short code.
-
The name of the platform that the client was running on.
-
The version of the platform that the client was running on.
-
The name of the Realm SDK used to make the request.
-
The version number of the Realm SDK used to make the request.
-
The global region where the function was executed.
-
The cloud provider deployment region where the function was executed.
-
A list of logs or other messages associated with the operation.
-
Hide rule_metrics attribute Show rule_metrics attribute object
-
Hide namespaces_metrics attribute Show namespaces_metrics attribute object
-
Metrics for a specific
database.collection
namespace.Hide * attributes Show * attributes object
-
-
-
Value is
SCHEMA_ADDITIVE_CHANGE
.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The user account ID of the user that initiated the logged operation.
-
The IP address that the logged operation originated from.
-
The HTTP status code returned in the operation response.
-
If a runtime error occurred in the logged operation, this is a message that describes the issue.
-
If a runtime error occurred in the logged operation, this is the error's short code.
-
The name of the platform that the client was running on.
-
The version of the platform that the client was running on.
-
The name of the Realm SDK used to make the request.
-
The version number of the Realm SDK used to make the request.
-
Hide rule_metrics attribute Show rule_metrics attribute object
-
Hide namespaces_metrics attribute Show namespaces_metrics attribute object
-
Metrics for a specific
database.collection
namespace.Hide * attributes Show * attributes object
-
-
-
Value is
SCHEMA_GENERATION
. -
The ID of the data source that the schema was generated from.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The user account ID of the user that initiated the logged operation.
-
The IP address that the logged operation originated from.
-
The HTTP status code returned in the operation response.
-
If a runtime error occurred in the logged operation, this is a message that describes the issue.
-
If a runtime error occurred in the logged operation, this is the error's short code.
-
The name of the platform that the client was running on.
-
The version of the platform that the client was running on.
-
The name of the Realm SDK used to make the request.
-
The version number of the Realm SDK used to make the request.
-
A list of logs or other messages associated with the operation.
-
Hide rule_metrics attribute Show rule_metrics attribute object
-
Hide namespaces_metrics attribute Show namespaces_metrics attribute object
-
Metrics for a specific
database.collection
namespace.Hide * attributes Show * attributes object
-
-
-
Value is
SCHEMA_VALIDATION
. -
The ID of the data source that was validated against the schema.
Common fields shared by all log types.
Hide attributes Show attributes
-
A unique ID for the log entry.
-
A correlation ID for the request that issued the logged operation.
-
The domain ID.
-
The App's internal client ID value.
-
The App's Atlas Project ID value.
-
The URL that the incoming request was sent to.
-
The HTTP method used by the incoming request.
-
An ISO 8601 timestamp for the start of the logged operation.
-
An ISO 8601 timestamp for the completion of the logged operation.
-
The global region where the function was executed.
-
The cloud provider deployment region where the function was executed.
-
A list of logs or other messages associated with the operation.
-
The total billable memory used by the request.
-
Value is
LOG_FORWARDER
. -
The underlying log event subscription's unique objectId hex.
-
The underlying log event subscription's name.
-
The log forwarder's unique objectId hex.
-
The log forwarder's name.
-
An array of log
_id
values for any logs that were not successfully forwarded. -
The ID of the forwarded log data source.
-
The name of the forwarded log data source.
-
The
database.collection
namespace of the forwarded log collection.
-
-
The end date and time of the next page of log entries in ISO 8601 format. App Services paginates the result sets of queries that match more than 100 log entries and includes this field in paginated responses. To get the next page of up to 100 entries, pass this value as the
end_date
parameter in a subsequent request. -
The offset into the next page of log entries in ISO 8601 format. MongoDB App Services paginates the result sets of queries that match more than 100 log entries and includes this field in paginated responses where the first entry on the next page has the same timestamp as the last entry on this page. To get the next page of up to 100 entries, pass this value, if it is present, as the
skip
parameter in a subsequent request.
-
curl \
--request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/logs' \
--header "Authorization: Bearer $ACCESS_TOKEN"
{
"logs": [
{
"_id": "63922bf071bdce7b19e14e76",
"co_id": "63922bf071bdce7b19e14e75",
"domain_id": "60c8f69884b0a73d14bb634b",
"app_id": "60c8f69884b0a73d14bb634a",
"group_id": "5b2ec426970199272441a214",
"request_url": "/api/client/v2.0/app/test-for-now-vbwlr/auth/providers/anon-user/login",
"request_method": "POST",
"started": "2022-12-08T18:24:48.409Z",
"completed": "2022-12-08T18:24:48.41Z",
"type": "API"
}
],
"nextEndDate": "string",
"nextSkip": 42
}