Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1016 Bytes

Logs.md

File metadata and controls

22 lines (15 loc) · 1016 Bytes

Logs

Logs of all queries executed by the query engine

Schema

Every log entry includes the following information:

ID Type Description
id ulid Unique identifier (includes timestamp)
query string Query executed by query engine
duration integer Duration of the query execution in milliseconds
cache uri URI of cached query result on Object Store
error string Error message

Serialization

Logs are serialized as JSON values in a Redis cluster (using Amazon ElastiCache for Redis).

Related FAQ: Why use a Redis cluster for storing query logs?

Note: For smaller deployments that do not require distributed queries, we could consider using Amazon DynamoDB as an alternative.