Skip to main content
Accepts the Loki JSON push shape:
Each value becomes a log event; labels become fields and the line becomes message. Set stream-name to choose the target stream (default default). Gzip request bodies are accepted. The current endpoint does not decode Loki snappy-protobuf payloads. Send a JWT or ms_* API token as Authorization: Bearer ...; the principal needs streams.write. Success returns 204.
Last modified on August 9, 2026