Skip to content
DocumentationOpenTelemetry

Logs

Send OpenTelemetry logs to Altertable when you want application log records to be queryable beside product, operational, and business data.

Accepted log records are written to opentelemetry.main.logs.

SDK and collector setup

Follow Configure an exporter for instrumentation, authentication, and OTLP/HTTP setup. See POST /v1/logs for the request body and responses.

Query logs

Logs are normal SQL rows once they are ingested:

SQL
SELECT
timestamp,
severity_text,
body,
trace_id,
span_id
FROM opentelemetry.main.logs
ORDER BY timestamp DESC
LIMIT 100;

You can also explore logs in the Altertable Explore tab with Lucene-syntax search.

Continue with Query telemetry to investigate and correlate signals.