LogExporter
Export logs to a Google Operational Suite
This task is designed to send logs to a Google Operational Suite.
yaml
type: "io.kestra.plugin.ee.gcp.LogExporter"
Ship logs to GCP
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
batchSize: 1000
lookbackPeriod: P1D
logExporters:
- id: GCPLogExporter
type: io.kestra.plugin.ee.gcp.LogExporter
projectId: myProjectId
Dynamic NO
Validation RegExp ^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length 1
Dynamic YES
Default 1000
Dynamic YES
The GCP project ID.
SubType string
Dynamic YES
Default ["https://www.googleapis.com/auth/cloud-platform"]
The GCP scopes to be used.
Dynamic YES
The GCP service account key.