Skip to content

Google Cloud Storage

Google Cloud Storage (gcs)

Write events to a Google Cloud bucket.

Contents

Authentication

Authentication
FieldTypeRequiredDescription
credentialsgcs_output:credentialsCredentials for GCP. Supports service account JSON, application-default credentials, or context-provided material via PossibleContextString.

Behavior

Behavior
FieldTypeRequiredDescription
modeModePut or delete the object? Put uploads content (default), while Delete removes the named object.

Location

Location
FieldTypeRequiredDescription
bucket-namestringBucket Name.
object-namegcs_output:object-nameRemote object name or field reference (via ObjectDestination). Supports folder-style paths using / separators.

Object properties

Object Properties
FieldTypeRequiredDescription
disable-object-name-guidboolean (bool)Disable the autogenerated GUID prefix so the provided object name is used verbatim. This is forced off for delete operations.
guid-prefixstringOptional GUID prefix appended ahead of the generated identifier. Defaults to /.
guid-suffixstringOptional GUID suffix appended after the generated identifier.

Processing

Processing
FieldTypeRequiredDescription
batchBatchConfigure batching before uploads; batching is recommended when writing many small events to reduce API calls.
input-fieldevent-field (string)Use the specified field as the object payload. When omitted the entire event body is serialized according to the selected preprocessors.
preprocessorsPreprocessorsPreprocessors (process data before making it available for upload) these processors will be run in the order they are specified.

Reliability

Reliability
FieldTypeRequiredDescription
retryRetryHow to retry operation if it fails.
track-schemaboolean (bool)Validate JSON payloads against the stored schema and maintain __SCHEMA_NUMBER metadata. Only available when the payload serializes to JSON.

Retry Fields

FieldTypeRequiredDescription
countintegerThe number of retry attempts. If unspecified, retries will continue indefinitely.
pausestringHow long to pause before re-trying.

Batch Fields

FieldTypeRequiredDescription
fixed-sizeintegermaximum number of events in an output batch.
modesymbolIf ‘document’ send on end of document generated by input. If ‘fixed’, use fixed_size.
timeoutstringinterval after which the batch is sent, to keep throughput going (default 100ms).
headerstringput a header line before the batch.
footerstringput a header line after the last line of the batch.
use-document-markerboolEnrich the job metadata with a document marker (for document handling in batch mode).
wrap-as-jsonboolFormat the output batch as a JSON array.

Mode Options

ValueNameDescription
putputPut Objects
deletedeleteDelete Objects

Preprocessors Options

ValueNameDescription
gzipgzipGzip the output data
parquetparquetExtract the received data as JSON rows from a parquet file
base64base64Decode base64 as binary