OpenTelemetry

Humio supports OpenTelemetry, or otel, a tool for ingesting telemetry data (logs, metrics, and traces) into Humio. Humio can receive data sent using the OpenTelemetry data delivery protocol, or OTLP, thus enabling collecting data from any source which uses OpenTelemetry. Humio’s logshipper endpoint receives binary-encoded Protobuf data sent over HTTP. If the source uses JSON-encoded Protobuf then the data must be routed through the OpenTelemetry Collector.

Using otlphttp as the method, the ingested data is translated into a JSON structure and then Parsers can be applied. For authentication use the authorization header with an ingest token:

http
Authorization: "Bearer ingest token".

OpenTelemetry works well when ingesting logs into Humio. You can also ingest traces and metrics, taking advantage of Humio as a good storage solution. Due to how LogScale handles event data, some metrics are treated as usual Humio events, but some traces might require additional effort in the query language.

The following examples shows how to configure an exporter for traces, metrics and logs pipelines. The data will automatically be routed to the correct place within LogScale.

logscale
exporters:

  otlphttp:
    endpoint: "http://url/api/v1/ingest/otlp"
    headers:
      Authorization: "Bearer ingest token"