Opentelemetry LogExporter

Opentelemetry LogExporter

Certified
Enterprise Edition

Send logs to an OTLP collector

Exports Kestra log records to an OTLP/HTTP collector in batches; requires otlpEndpoint, can add authentication headers, batches chunk logs per request (default 1000), and emits counters for requests and logs plus a duration timer.

yaml
type: io.kestra.plugin.ee.opentelemetry.LogExporter

Ship logs using OTLP

yaml
id: log_shipper
namespace: company.team

triggers:
  - id: daily
    type: io.kestra.plugin.core.trigger.Schedule
    cron: "@daily"

tasks:
  - id: log_export
    type: io.kestra.plugin.ee.core.log.LogShipper
    logLevelFilter: INFO
    batchSize: 1000
    lookbackPeriod: P1D
    logExporters:
      - id: OTLPLogExporter
        type: io.kestra.plugin.ee.opentelemetry.LogExporter
        otlpEndpoint: http://localhost:4318/v1/logs
        authorizationHeaderName: Authorization
        authorizationHeaderValue: Bearer token
Properties
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1

OTLP endpoint

HTTP endpoint for the OTLP logs API

Authentication header name

Header name used for authentication when calling the collector

Authentication header value

Header value paired with the authentication header name

Default1000

The chunk size for every bulk request

Number of log records per export batch; default 1000

Number of logs

Number of requests

Duration of requests