
Google Cloud LogExporter
CertifiedEnterprise EditionSend logs to Google Cloud Logging
Google Cloud LogExporter
Send logs to Google Cloud Logging
Streams Kestra log records to Google Cloud Logging (Operational Suite) using a service account or impersonation. Batches entries per request (default 1000) and publishes request/log metrics; requires project-level Logging Writer access.
type: io.kestra.plugin.ee.gcp.operationalsuite.LogExporterExamples
Ship logs to GCP
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.operationalsuite.LogExporter
projectId: myProjectId
Properties
id *RequiredNon-dynamicstring
^[a-zA-Z0-9][a-zA-Z0-9_-]*1chunk integerstring
1000Batch size per write request
Number of log entries sent in each Cloud Logging write call; defaults to 1000. Lower if you hit payload limits or latency spikes.
impersonatedServiceAccount string
The GCP service account to impersonate
Service account email to impersonate for API calls.
For Cloud Run runner, this value applies to API calls used to create and run the job (--impersonate-service-account equivalent).
It does not set the job execution identity (--service-account).
projectId string
The GCP project ID
scopes array
["https://www.googleapis.com/auth/cloud-platform"]The GCP scopes to be used
serviceAccount string
The GCP service account key
Service account JSON key used to authenticate API calls.
For Cloud Run runner job execution identity, this value is used as a fallback for --service-account
when runtimeServiceAccount is not provided.
Metrics
logs counter
Number of logs
requests.count counter
Number of requests
requests.duration timer
Duration of requests