Debug with logs
Use RawTree logs to diagnose inserts, queries, and agent runs.
Debug with logs
RawTree records insert and query activity so humans and agents can understand what happened after a command or API call.
Recent activity
rtree logs --since 1h --limit 50Failed inserts
rtree logs --since 1h --type insert --status errorFailed queries for one table
rtree logs --since 1h --type select --status error --table eventsMachine-readable logs
rtree logs --since 1h --status error --jsonUse this form for agents and CI jobs. Log entries include the query, status, exception, rows, duration, tables, projections, and hints.
API logs
START_TIME="2026-04-24T10:00:00Z"
END_TIME="2026-04-24T11:00:00Z"
curl "https://api.rawtree.com/v1/logs?start_time=$START_TIME&end_time=$END_TIME&search=type:insert%20status:error" \
-H "Authorization: Bearer $API_KEY"Supported search filters:
type:selecttype:inserttype:describetype:explainstatus:successstatus:errortable:events,audit
Missing OpenTelemetry data
Native OTLP exports are recorded as insert logs on the destination table, so the same filters work for telemetry.
rtree logs --since 1h --type insert --table tracesIf an export returned a success response but data is missing:
- Filter the insert logs by the destination table:
traces,logs, ormetrics, or the custom table set with anx-rawtree-*-tableheader. - Check the OTLP export response for
partialSuccess; RawTree reports rejected spans, log records, or data points there. - An OpenTelemetry transform emits zero rows when the payload is missing the expected wrapper arrays, such as
resourceSpans. See Empty results.
Agent pattern
When an insert or query fails, run:
rtree logs --since 1h --status error --jsonThen use the exception and hints fields to decide the next command.