Skip to content

S3

S3 (s3)

Write events to an S3 bucket.

Block Store Cloud binary json raw

Minimal example

output:
s3:
bucket-name: ~
object-name:
name: ~
JSON
{
"output": {
"s3": {
"bucket-name": null,
"object-name": {
"name": null
}
}
}
}

Contents

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.

Behavior

Behavior
FieldTypeRequiredDescription
modeModePut or delete the object? Default is Put.
Allowed values: put, delete

Location

Location
FieldTypeRequiredDescription
bucket-namestringBucket Name.
object-nameObject NameName of object, either as text or from a field.
Allowed values: name, field
regionstringS3 Region.
endpointstringS3 Endpoint, if needed.

Object Properties

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

Processing

Processing
FieldTypeRequiredDescription
batchBatchBatching input events together.
input-fieldfield (string)Use the specified field as the content for the object.
Examples: data_field
preprocessorsOutput Preprocessor[]Preprocessors (process data before making it available for upload) these processors will be run in the order they are specified.
Allowed values: gzip, parquet, base64

Reliability

Reliability
FieldTypeRequiredDescription
retryRetryHow to retry failed requests.
track-schemaboolean (bool)Check the schema of the written data and update __SCHEMA_NUMBER (written data must be JSON).
Default: false

Schema

Object Name Options

OptionNameTypeDescription
nameNamestringObject Name.
fieldFieldstringField containing the Object Name.

Batch Fields

FieldTypeRequiredDescription
fixed-sizenumber (integer)maximum number of events in an output batch.
Examples: 42, 1.2e-10
modeModeIf ‘document’ send on end of document generated by input. If ‘fixed’, use fixed_size.
Allowed values: fixed, document
timeouttime-interval (string)interval after which the batch is sent, to keep throughput going (default 100ms).
Default: 100ms
Examples: 500ms, 2h
headermultiline-text (string)put a header line before the batch.
footermultiline-text (string)put a header line after the last line of the batch.
use-document-markerboolean (bool)Enrich the job metadata with a document marker (for document handling in batch mode).
Default: false
wrap-as-jsonboolean (bool)Format the output batch as a JSON array.
Default: false

Retry Fields

FieldTypeRequiredDescription
timeouttime-interval (string)timeout (e.g. 500ms, 2s etc. - default is 30).
Examples: 500ms, 2h
retriesnumber (integer)number of retries.
Examples: 42, 1.2e-10

Mode Options

ValueNameDescription
putputPut Objects
deletedeleteDelete Objects

Batch - Mode Options

ValueNameDescription
fixedfixedFixed
documentdocumentDocument

Output Preprocessor Options

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