
LogExporter
This task is designed to send logs to a Google Operational Suite.
Enterprise Edition Talk to us
LogExporter
This task is designed to send logs to a Google Operational Suite.
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.operationalsuite.LogExporter"Examples
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
id*RequiredNon-dynamicstring
Validation RegExp
^[a-zA-Z0-9][a-zA-Z0-9_-]*Min length
1chunkintegerstring
Default
1000The chunk size for every bulk request.
impersonatedServiceAccountstring
The GCP service account to impersonate.
projectIdstring
The GCP project ID.
scopesarray
SubTypestring
Default
["https://www.googleapis.com/auth/cloud-platform"]The GCP scopes to be used.
serviceAccountstring
The GCP service account key.
Metrics
logscounter
Number of logs
requests.countcounter
Number of requests
requests.durationtimer
Duration of requests