Logs

Ingest logs via Loki API (deprecated)

This endpoint is deprecated and will be removed in a future release. Ingests log data using Grafana Loki-compatible API format. Supports both JSON and Protocol Buffers content types with optional compression (gzip for JSON, snappy for Protobuf). Stream names are extracted from the 'stream_name' label in stream metadata. Provides seamless migration path from Loki deployments to OpenObserve while maintaining API compatibility.

post/api/{org_id}/loki/api/v1/push

Request

Path parameters

org_idstring required

Organization name

Request body

Response

Success - logs ingested successfully

Changes

No recorded changes to this operation across all 1 revision of this API.