Skip to content

S3

S3 (s3)

Write events to a S3 bucket.

Contents

Fields

FieldTypeRequiredDescription
retryRetryHow to retry failed requests.
batchBatchBatching input events together.
input-fieldevent-field (string)Use the specified field as the content for the object.
bucket-namestringBucket Name.
object-names3_output:object-nameName of object, either as text or from a field.
modeModePut or delete the object? Default is Put.
preprocessorsPreprocessorsPreprocessors (process data before making it available for upload) these processors will be run in the order they are specified.
track-schemaboolean (bool)Check the schema of the written data and update __SCHEMA_NUMBER (written data must be JSON).

Authentication

Authentication
FieldTypeRequiredDescription
access-keystringAccess Key ID.
secret-keystringSecret Key ID.
security-tokenstringSecurity Token.
session-tokenstringSession Token.
role-arnstringA Role ARN for assuming role using above credentials.

Location

Location
FieldTypeRequiredDescription
regionstringS3 Region.
endpointstringS3 Endpoint, if needed.

Object properties

Object Properties
FieldTypeRequiredDescription
disable-object-name-guidboolean (bool)Disable the GUID prefix if you want object name to be treated literally (off for deletes).
guid-prefixstringGUID Prefix, will be prepended to the GUID, the default value is ”/”.
guid-suffixstringGUID Suffix, will be appended to the GUID if specified.

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