
OpenSearch LogExporter
CertifiedEnterprise EditionExport execution logs to OpenSearch
OpenSearch LogExporter
Certified
Enterprise Edition
Export execution logs to OpenSearch
Streams Kestra log records into an OpenSearch index using bulk requests; control batch size and connection settings, index name is required.
yaml
type: io.kestra.plugin.ee.opensearch.LogExporterExamples
Ship logs to Opensearch
yaml
id: log_shipper
namespace: company.team
triggers:
- id: daily
type: io.kestra.plugin.core.trigger.Schedule
cron: "@daily"
tasks:
- id: logSync
type: io.kestra.plugin.ee.core.log.LogShipper
logLevelFilter: INFO
batchSize: 1000
lookbackPeriod: P1D
logExporters:
- id: OpensearchLogExporter
type: io.kestra.plugin.ee.opensearch.LogExporter
connection:
hosts:
- "http://localhost:9200/"
indexName: "logs"
Properties
connection *
OpenSearch connection
Shared HTTP settings including hosts, auth, headers, path prefix, and TLS options.
Definitions
id *string
Validation RegExp
^[a-zA-Z0-9][a-zA-Z0-9_-]*Min length
1indexName *string
Target index name
Rendered before use; must exist or auto-create per cluster settings.
chunk integerstring
Default
1000Bulk chunk size
Number of log records per bulk request; defaults to 1000.
Metrics
records counter
The number of records sent to Opensearch
requests.count counter
The number of requests sent to Opensearch
requests.duration timer
The duration of the requests sent to Opensearch