FQL v4 will be decommissioned on June 30, 2025. Ensure that you complete your migration from FQL v4 to FQL v10 by that date. Fauna accounts created after August 21, 2024 must use FQL v10. These accounts will not be able to run FQL v4 queries or access the v4 Dashboard. For more details, see the v4 EOL announcement and migration guide. Contact support@fauna.com with any questions. |
Log record format
The log file is a gzip-compressed JSON+L file with one JSON object per line that represents a single log record entry. Each entry has the following format.
Log entry description
Field |
Description |
||||||||||
|
Fauna API version. |
||||||||||
|
Number of bytes in the request. |
||||||||||
|
Number of bytes in the response. |
||||||||||
|
Number of read operations consumed by this query. |
||||||||||
|
Number of write operations consumed by this query. |
||||||||||
|
Number of compute operations consumed by this query. |
||||||||||
|
Database path of this entry. Each path entry is a database name. The first entry is the top-level database, and each included entry to the right is a child database. Dashboard queries have an empty database value. |
||||||||||
|
Full request body with Personal Identifiable Data removed. Used to associate the log entry with a query to help debug and understand traffic. |
||||||||||
|
Query processing time of this query in milliseconds. |
||||||||||
|
An array of ops types that were limited or approaching rate limits:
Example: |
||||||||||
|
Query Region Group identifier. |
||||||||||
|
HTTP request headers of this entry. |
||||||||||
|
HTTP request method of this entry. |
||||||||||
|
Query HTTP response code:
|
||||||||||
|
List of tags included with the query. Empty |
||||||||||
|
Query W3C-compliant traceparent identifier. If you supplied an identifier and the logs do not include the identifier, you might have supplied an invalid identifier. If you provided an invalid identifier, Fauna generates a valid identifier. |
||||||||||
|
Query processing timestamp in UTC. Example: |
||||||||||
|
Retry count. A value greater than zero indicates contention. |
Example
{
"API_VERSION": "4",
"BYTES_IN": 132,
"BYTES_OUT": 21,
"BYTE_READ_OPS": 1050,
"BYTE_WRITE_OPS": 0,
"COMPUTE_OPS": 3,
"DATABASE": [
"read-test"
],
"FQL_SHAPE": "Do(Map(Paginate(Documents(Collection(\"myCollection\"))), Lambda(\"x\", Get(Var(\"x\")))), null)",
"QUERY_TIME_MS": 87,
"RATE_LIMITS_HIT": [
"read"
],
"REGION_GROUP": "us-std",
"REQUEST_HEADERS": "{\"driver_env\":\"driver=javascript-4.8.0; runtime=nodejs-v18.16.1; env=unknown; os=linux-5.10.147-133.644.amzn2.x86_64\",\"x_forwarded_for\":\"192.168.1.1\"}",
"REQUEST_METHOD": "POST",
"RESPONSE_CODE": "200",
"TAGS": {},
"TRACEPARENT": "00-df5aac21fb72d6d48ba27b39eabb6b1d-c02c6be678083fd6-00",
"TS": "2023-06-06 16:15:35.388 Z",
"TXN_RETRIES": 0
}
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!