Endpoint Logs
On this page
Atlas Device Sync, Atlas Edge Server, Data API, and HTTPS Endpoints are deprecated. Refer to the deprecation page for details.
Overview
Endpoint logs are created whenever a user calls an HTTPS Endpoint.
Log Format
Endpoint log entries have the following form:
Logs: [ <log line>, <log line>, ... ] { "arguments": [ <arg1>, <arg2> ], "name": <function name>, } Function Call Location: <location> Endpoint Query Arguments: <arguments> Endpoint Headers: <headers> Compute Used: <number> bytes•ms Remote IP Address: <ip address>
Fields
Field | Description |
---|---|
Logs | Information about the Endpoint Call. Includes the name of the function,
as well as the arguments passed to it. Also includes a list of console.log
outputs, when relevant. |
Function Call Location | The data center in which the function was executed. |
Compute Used | The computational load of the operation. |
Remote IP Address | The IP Address that sent the request to the endpoint. (e.g. 52.21.89.200) |
Platform Version | The version of the platform that sent the request. |
Endpoint Query Arguments | The parameters passed to the endpoint function. |
Endpoint Headers | A list of headers and the information passed to them, to be used
by the endpoint and its function. |
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. |
Remote IP Address | The IP Address that sent the request to the endpoint. (e.g. 52.21.89.200) |