
LogExporter
Enterprise Edition Talk to us
LogExporter
yaml
type: "io.kestra.plugin.ee.aws.s3.LogExporter"Examples
yaml
id: log_shipper
namespace: system
tasks:
- id: log_export
type: io.kestra.plugin.ee.core.log.LogShipper
logLevelFilter: INFO
batchSize: 1000
lookbackPeriod: P1D
logExporters:
- id: S3LogExporter
type: io.kestra.plugin.ee.aws.s3.LogExporter
accessKeyId: "{{ secret('AWS_ACCESS_KEY_ID') }}"
secretKeyId: "{{ secret('AWS_SECRET_KEY_ID') }}"
region: "{{ vars.region }}"
format: JSON
bucket: logbucket
logFilePrefix: kestra-log-file
maxLinesPerFile: 1000000
triggers:
- id: daily
type: io.kestra.plugin.core.trigger.Schedule
cron: "@daily"
Properties
bucket*Requiredstring
id*RequiredNon-dynamicstring
Validation RegExp
^[a-zA-Z0-9][a-zA-Z0-9_-]*Min length
1region*Requiredstring
accessKeyIdstring
chunkintegerstring
Default
1000endpointOverridestring
formatstring
Default
JSONPossible Values
IONJSONlogFilePrefixstring
Default
kestra-log-filemaxLinesPerFileintegerstring
Default
100000secretKeyIdstring
sessionTokenstring
stsEndpointOverridestring
stsRoleArnstring
stsRoleExternalIdstring
stsRoleSessionDurationstring
Default
PT15MFormat
duration