LogExporter
Ship logs to a Datadog instance.
This task is designed to be used to send logs to Datadog using it's REST API.
type: "io.kestra.plugin.ee.datadog.LogExporter"
Ship logs to the internal storage
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
YES
Api key
Api key used to log in the Datadog instance
YES
Datadog base path
Base path of the Datadog instance
NO
^[a-zA-Z0-9][a-zA-Z0-9_-]*
1
YES
1000
The chunk size for every bulk request.
NO
The http client configuration
YES
LogExporter
Log sending service
Name of the service that send logs
YES
Kestra
Log source
The source of the logs
YES
duration
The time allowed to establish a connection to the server before failing.
YES
PT5M
duration
The time allowed for a read connection to remain idle before closing it.
YES
The password for HTTP basic authentication.
YES
The username for HTTP basic authentication.
YES
false
If true, allow a failed response code (response code >= 400)
NO
The authentification to use.
NO
The password for HTTP basic authentication.
NO
The username for HTTP basic authentication.
NO
duration
The time allowed to establish a connection to the server before failing.
NO
duration
The time an idle connection can remain in the client's connection pool before being closed.
YES
UTF-8
The default charset for the request.
YES
true
Whether redirects should be followed automatically.
NO
ALL
TRACE
DEBUG
INFO
WARN
ERROR
OFF
NOT_SPECIFIED
The log level for the HTTP client.
NO
REQUEST_HEADERS
REQUEST_BODY
RESPONSE_HEADERS
RESPONSE_BODY
The enabled log.
NO
The maximum content length of the response.
NO
The proxy configuration.
NO
The address of the proxy server.
NO
The password for proxy authentication.
NO
The port of the proxy server.
NO
DIRECT
HTTP
SOCKS
The type of proxy to use.
NO
The username for proxy authentication.
NO
duration
The time allowed for a read connection to remain idle before closing it.
NO
duration
The maximum time allowed for reading data from the server before failing.
NO
The SSL request options
NO
The timeout configuration.
YES
The address of the proxy server.
YES
The password for proxy authentication.
YES
The port of the proxy server.
YES
The username for proxy authentication.
YES
Whether to disable checking of the remote SSL certificate.
Only applies if no trust store is configured. Note: This makes the SSL connection insecure and should only be used for testing. If you are using a self-signed certificate, set up a trust store instead.
YES
The token for bearer token authentication.