Skip to main content

Access Log Reference

This feature is available only with the Enterprise plan or higher, and BYOC deployments.

Access logs are delivered in JSON Lines format - one JSON object per line. Each line is a self-contained JSON object representing a single operation. The following example shows a log entry of the Search operation:

json
{
"action": "Search",
"cluster_id": "inxx-xxxxxxxxxxxxxxx",
"database": "default",
"date": "2026/04/14 06:31:16.827 +00:00",
"interface": "Restful",
"log_type": "ACCESS",
"params": {
"collection": "ccc1",
"consistency_level": 2,
"execution_time": "15.368706ms",
"expr": "",
"input_params": {
"anns_field": "",
"offset": "0",
"params": "{}",
"round_decimal": "-1",
"topk": "10"
},
"nq": 1,
"output_fields": ["*"],
"partition": null,
"result_num": 10,
"result_pks": [55, 19, 18, 10, -26, 115, -14, -96, -50, 9],
"result_scores": [0.87269604, 0.8639183, 0.8605273, 0.85245466, 0.8490447, 0.84537137, 0.84066796, 0.8314183, 0.8296911, 0.82586515],
"topk": 10
},
"result": 0,
"status": "Success",
"timestamp": 1776148276827,
"trace_id": "f89903d701329910380442aa86941be9",
"user": "key-ibchakktguxxrvvxseoasz"
}

In practice, each entry occupies a single line in the .log file. The sections below describe each field in detail.

Log field schema

FieldRequiredTypeDescriptionExample
actionYesstringThe operation name. See Supported actions."Search"
cluster_idYesstringThe unique identifier of the cluster."inxx-xxxxxxxxxxxxxxx"
databaseNostringThe database where the operation occurred."default"
dateYesstringHuman-readable timestamp with timezone."2026/04/14 06:31:16.827 +00:00"
interfaceYesstringThe interface type: Restful or Grpc."Restful"
log_typeYesstringLog category: ACCESS, AUDIT, or SLOW."ACCESS"
paramsYesobjectAction-specific parameters. See below for nested fields.--
resultYesintThe operation result code. 0 indicates success; non-zero values indicate errors.0
statusYesstringHuman-readable status of the operation."Success"
timestampYesintUnix timestamp in milliseconds (13 digits) when the proxy received the request.1776148276827
trace_idYesstringA unique ID for the operation. Use this to correlate multiple log entries belonging to the same request."f89903d701329910380442aa86941be9"
userYesstringThe user or API key that issued the request."key-ibchakktguxxrvvxseoasz"

params fields

FieldRequiredTypeDescriptionExample
params.collectionNostringThe target collection. Required for Search, HybridSearch, and Query actions."ccc1"
params.consistency_levelNointThe consistency level used for the operation.2
params.execution_timeNostringServer-side execution time, measured from when the proxy receives the full payload to when it begins sending the response. Does not include network transit time."15.368706ms"
params.exprNostring or arrayThe filter expression passed with the request. For HybridSearch, this is an array of expressions (one per sub-request)."" or [""]
params.input_paramsNoobjectInput parameters for the operation (search params, offset, topk, etc.). For HybridSearch, includes sub_0.* prefixed sub-request parameters and strategy.{"topk": "10", "offset": "0"}
params.limitNointThe limit on the number of results to return. Appears for Query and HybridSearch actions.100
params.nqNointThe number of query vectors. Appears for Search actions.1
params.output_fieldsNoarrayThe output fields requested in the query.["*"]
params.partitionNostringThe target partition, if specified. null when no partition is specified.null
params.result_numNointThe actual number of results returned by the operation.10
params.result_pksNoarrayThe primary keys in the query result. Appears for Search, HybridSearch, and Query actions when output params are configured to include it.[55, 19, 18, 10]
params.result_scoresNoarrayThe similarity scores corresponding to each entry in params.result_pks. Appears for Search and HybridSearch actions.[0.87269604, 0.8639183]
params.topkNointThe topk parameter for the search request. Appears for Search and HybridSearch actions.10

Supported actions

This release logs search- or query-class actions only:

ActionDescription
SearchVector similarity search
HybridSearchMulti-vector search with reranking
QueryScalar filtering query
📘Notes

Support for additional actions is planned for a future release.

File path and naming

Log files are organized in your object storage bucket with the following path structure:

plaintext
/<Cluster ID>/<Log type>/<Date>/<File name><File name suffix>
ComponentFormatExample
Cluster IDThe cluster's unique identifierinxx-xxxxxxxxxxxxxxx
Log typeaccess, audit, or slowaccess
DateISO date (YYYY-MM-DD)2024-12-20
File nameHH:MM:SS-<UUID>, where HH:MM:SS is the UTC time and <UUID> is a random string for uniqueness09:16:53-jz5l7D8Q
File name suffix.log.log

Full path example:

plaintext
/inxx-xxxxxxxxxxxxxxx/access/2024-12-20/09:16:53-jz5l7D8Q.log
Ctrl I