Skip to content

Logs reference

Send OTLP to /v1/logs or custom JSON/NDJSON/text to /ingest at https://otlp.siteqwality.com. See ingest routes and Fluent Bit, Vector or Collector for concrete configs.

Common body aliases include message, msg, body and wrapper log; severity accepts supported textual/numeric conventions. Service/environment/resource fields have explicit identity precedence. Structured custom attributes are retained and typed, subject to truncation limits. Logs can carry valid trace_id and span_id to open recorded trace context. Invalid IDs do not create a trace link.

PathMethodPurpose
/logs/v2/searchPOST / GETCursor-paged event search.
/logs/v2/countPOST / GETMatching count.
/logs/v2/histogramPOST / GETTime buckets with counts by level: error (includes fatal), warn, info and debug (includes trace). Records without a level make up the rest of count.
/logs/v2/facetsPOST / GETScoped field values.
/logs/v2/fieldsGETField catalog.
/logs/v2/patternsGETBounded grouped message templates.
/logs/v2/tailGETCursor-based live polling.
/logs/v2/analyticsPOSTCount, numeric/distribution operations and groups.
/logs/v2/events/{event_id}GETEvent detail.
/logs/v2/events/{event_id}/contextGETNeighboring retained events.
/logs/v2/insightsGETBounded exploratory insights.

These paths are relative to https://api.siteqwality.com and require read access. POST search wraps the versioned event query in query and supports limit and cursor; query reference has a complete curl request. Use the same pinned range and query for cursor paging.

Live tail polls at its configured interval and keeps a bounded client buffer. It can pause or fall behind; inspect dropped/backlog indicators.

Structured fields and numeric fields remain distinct. A body_clipped list item is a preview; inspect the event detail before assuming the full body is visible.

Saved views use /telemetry/views, scoped to page logs, with a versioned query and display settings.

Use Processing pipelines for parsing and redaction rules. Use bounded exports from the explorer; inline download allows 10,000 rows and 4 MiB compressed.

Logs have their own allowance and retention; a metric derived from logs also counts as metric series.