LogExporter
Ship logs to a Datadog instance.
This task is designed to be used to send logs to Datadog using it's REST API.
yaml
type: "io.kestra.plugin.ee.datadog.LogExporter"
Ship logs to the internal storage
yaml
id: logShipper
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: DatadogLogExporter
type: io.kestra.plugin.ee.datadog.LogExporter
basePath: https://http-intake.logs.datadoghq.eu
apiKey: b96c7528f0aab740e8c4bcbe3a5c73a7
Dynamic YES
Api key
Api key used to log in the Datadog instance
Dynamic YES
Datadog base path
Base path of the Datadog instance
Dynamic NO
Validation RegExp ^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length 1
Dynamic YES
Default 1000
Dynamic YES
Default LogExporter
Log sending service
Name of the service that send logs
Dynamic YES
Default Kestra
Log source
The source of the logs