Google Cloud LogExporter

Google Cloud LogExporter

Certified
Enterprise Edition

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.

yaml
type: io.kestra.plugin.ee.gcp.operationalsuite.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.operationalsuite.LogExporter
        projectId: myProjectId
Properties
Validation RegExp^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length1
Default1000

Batch 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.

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).

The GCP project ID

SubTypestring
Default["https://www.googleapis.com/auth/cloud-platform"]

The GCP scopes to be used

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.

Number of logs

Number of requests

Duration of requests