Status | |
---|---|
Stability | development |
Supported pipeline types | logs |
Distributions | contrib |
The Loki receiver implements the Loki push api as specified here. It allows Promtail instances to specify the open telemetry collector as their lokiAddress.
This receiver runs HTTP and GRPC servers to ingest log entries in Loki format.
The settings are:
endpoint
(required, default = 0.0.0.0:3500 for grpc protocol, 0.0.0.0:3600 http protocol): host:port to which the receiver is going to receive data.use_incoming_timestamp
(optional, default = false) if settrue
the timestamp from Loki log entry is used
Example:
receivers:
loki:
protocols:
http:
grpc:
use_incoming_timestamp: true