LogExporter
Enterprise Edition Talk to us
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
1chunk integerstring
Default
1000format string
Default
JSONPossible Values
IONJSONimpersonatedServiceAccount string
logFilePrefix string
Default
kestra-log-filemaxLinesPerFile integerstring
Default
100000projectId string
scopes array
SubTypestring
Default
["https://www.googleapis.com/auth/cloud-platform"]