
Opentelemetry LogExporter
CertifiedEnterprise EditionSend logs to an OTLP collector
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.LogExporterExamples
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
id *RequiredNon-dynamicstring
Validation RegExp
^[a-zA-Z0-9][a-zA-Z0-9_-]*Min length
1otlpEndpoint *Requiredstring
OTLP endpoint
HTTP endpoint for the OTLP logs API
chunk integerstring
Default
1000The chunk size for every bulk request
Number of log records per export batch; default 1000
Metrics
logs counter
Number of logs
requests.count counter
Number of requests
requests.duration timer
Duration of requests