LogExporter
yaml
type: "io.kestra.plugin.ee.gcp.gcs.logexporter"
Examples
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
lookbackPeriod: P1D
logExporters:
- id: GCPLogExporter
type: io.kestra.plugin.ee.gcp.gcs.LogExporter
projectId: myProjectId
format: JSON
maxLinesPerFile:10000
bucket: my-bucket
logFilePrefix: kestra-log-file
chunk: 1000
Properties
bucket *Requiredstring
id *RequiredNon-dynamicstring
Validation RegExp
^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length
1
chunk integerstring
Default
1000
format string
Default
JSON
Possible Values
ION
JSON
logFilePrefix string
Default
kestra-log-file
maxLinesPerFile integerstring
Default
100000
projectId string
scopes array
SubType string
Default
["https://www.googleapis.com/auth/cloud-platform"]