/api/v1/logs
Request a set of logs.
The logs are line-delimited JSON compressed using gzip.
HTTP authorization scheme: |
|
Request body
Inputs bounding the logs you want to get.
|
|
Path of the database you want to get logs for, including the region group. Omit this field if you want to export logs for your region group. |
|
|
|
Enum: |
|
|
required |
|
Date-time to start receiving logs, inclusive. |
|
required |
|
Date-time to stop receiving logs, exclusive. |
|
|
Optional idempotency token for requesting logs. Multiple requests issued
with the same |
Example:
Content-Type: |
|
{
"database": "classic/parent-db/child-db",
"region_group": "classic",
"time_start": "2022-09-19T20:42:16.828Z",
"time_end": "2022-09-19T20:42:16.828Z",
"idempotency_token": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Response
200 Success
|
|
A unique identifier for your request. Pass to
|
|
|
|
Path of the database you want to get logs for, including the region group. This field is omitted when exporting logs for your region group. |
|
|
|
Region group you want to get the logs for. Present only if you want to export logs for your region group. |
|
|
required |
|
Date-time to start receiving logs, inclusive. |
|
required |
|
Date-time to stop receiving logs, exclusive. |
|
required |
|
Log state:
|
|
|
URL that can get the requested logs. The field is present only if
the |
|
|
|
Date-time the URL expires. |
Example:
Content-Type: |
|
{
"request_id": "123456",
"database": "classic/parent-db/child-db",
"region_group": "classic",
"time_start": "2022-09-19T20:42:16.828Z",
"time_end": "2022-09-19T20:42:16.828Z",
"state": "Complete",
"presigned_url": "https://link.to.your.logs.com",
"presigned_url_expiration_time": "2022-09-19T21:42:16.828Z"
}
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!