Skip to content

Ftp

Ftp (ftp)

Upload events to FTP/SFTP/TFTP servers.

File Utility binary json raw

Minimal example

output:
ftp:
endpoint:
host: ~
path: ~
JSON
{
"output": {
"ftp": {
"endpoint": {
"host": null
},
"path": null
}
}
}

Contents

Fields

FieldTypeRequiredDescription
endpoint ConnectionEndpointRemote endpoint settings (host, port, TLS requirements).
path TransferstringRemote path or prefix (may include variables) where files are written.
retry ReliabilityRetryRetry policy to apply when uploads fail or time out.
batch ReliabilityBatchBatch multiple events into a single transfer when supported by the target.
protocol ConnectionProtocolTransfer protocol to use (ftp, sftp, ftps, or tftp).
Allowed values: ftp, ftps-explicit, ftps-implicit, sftp, tftp
credentials ConnectionCredentialsCredentials or key material needed to authenticate with the server.
working-directory ConnectionstringOptional working directory to CWD into before writing files.
metadata TransferMetadataExtra metadata columns to include with each upload event.
concurrency Transfernumber (integer)Maximum number of files to transfer concurrently.
Examples: 42, 1.2e-10
tmp-suffix TransferstringTemporary suffix applied to files while uploading; removed after completion.
passive Connectionboolean (bool)Enable passive FTP data connections when required by firewalls.
ftps ConnectionFtpsFTPS-specific options (TLS certificates, modes) when protocol is FTPS.
sftp ConnectionSftpSFTP-specific options (key paths, algorithms) when using SSH-based transfer.
tftp ConnectionTftpTFTP-specific options such as blksize tuning.
preprocessors TransferPreprocessors[]Output preprocessors to run before writing data (for example compression).
Allowed values: gzip, parquet, base64
payload-mode TransferPayload ModePayload mode describing how bytes are emitted (auto/json/raw/binary).
Allowed values: auto, json, raw, binary
resume-checkpoint-variable ReliabilitystringName of the variable used to persist resume checkpoints between runs.
append Transferboolean (bool)Append to existing remote files instead of overwriting them.
checksum TransferChecksumChecksum verification strategy applied after a transfer completes.
stream-buffer-size Transfernumber (integer)Size of the in-memory buffer used during streaming uploads.
Examples: 42, 1.2e-10

Reliability

Show fields
FieldTypeRequiredDescription
retryRetryRetry policy to apply when uploads fail or time out.
batchBatchBatch multiple events into a single transfer when supported by the target.
resume-checkpoint-variablestringName of the variable used to persist resume checkpoints between runs.

Connection

Show fields
FieldTypeRequiredDescription
endpointEndpointRemote endpoint settings (host, port, TLS requirements).
protocolProtocolTransfer protocol to use (ftp, sftp, ftps, or tftp).
Allowed values: ftp, ftps-explicit, ftps-implicit, sftp, tftp
credentialsCredentialsCredentials or key material needed to authenticate with the server.
working-directorystringOptional working directory to CWD into before writing files.
passiveboolean (bool)Enable passive FTP data connections when required by firewalls.
ftpsFtpsFTPS-specific options (TLS certificates, modes) when protocol is FTPS.
sftpSftpSFTP-specific options (key paths, algorithms) when using SSH-based transfer.
tftpTftpTFTP-specific options such as blksize tuning.

Transfer

Show fields
FieldTypeRequiredDescription
pathstringRemote path or prefix (may include variables) where files are written.
metadataMetadataExtra metadata columns to include with each upload event.
concurrencynumber (integer)Maximum number of files to transfer concurrently.
Examples: 42, 1.2e-10
tmp-suffixstringTemporary suffix applied to files while uploading; removed after completion.
preprocessorsPreprocessors[]Output preprocessors to run before writing data (for example compression).
Allowed values: gzip, parquet, base64
payload-modePayload ModePayload mode describing how bytes are emitted (auto/json/raw/binary).
Allowed values: auto, json, raw, binary
appendboolean (bool)Append to existing remote files instead of overwriting them.
checksumChecksumChecksum verification strategy applied after a transfer completes.
stream-buffer-sizenumber (integer)Size of the in-memory buffer used during streaming uploads.
Examples: 42, 1.2e-10

Schema

Credentials Options

OptionNameTypeDescription
username-passwordUsername Passwordobject
tls-client-certTls Client Certobject
ssh-keySsh Keyobject
anonymousAnonymousmap
noneNonemap

Sftp - Host Key Verification Options

OptionNameTypeDescription
known-hosts-fileKnown Hosts Fileobject
fingerprintFingerprintobject
accept-newAccept Newmap

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

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).
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).
wrap-as-jsonboolean (bool)Format the output batch as a JSON array.

Endpoint Fields

FieldTypeRequiredDescription
hoststring
portnumber (integer)Examples: 42, 1.2e-10
proxystring
bastion-hoststring

Credentials - Username Password Fields

FieldTypeRequiredDescription
username-variablestring
password-variablestring

Credentials - Tls Client Cert Fields

FieldTypeRequiredDescription
username-variablestring
password-variablestring
client-certificate-variablestring
client-key-variablestring

Credentials - Ssh Key Fields

FieldTypeRequiredDescription
username-variablestring
private-key-variablestring
passphrase-variablestring

Metadata Fields

FieldTypeRequiredDescription
object-name-fieldfield (string)Examples: data_field
content-length-fieldfield (string)Examples: data_field
last-modified-fieldfield (string)Examples: data_field
checksum-fieldfield (string)Examples: data_field
content-type-fieldfield (string)Examples: data_field
etag-fieldfield (string)Examples: data_field

Ftps Fields

FieldTypeRequiredDescription
ca-certificate-variablestring
client-certificate-variablestring
client-key-variablestring
cipher-liststring
verify-peerboolean (bool)
min-tls-versionstring

Sftp - Host Key Verification - Known Hosts File Fields

FieldTypeRequiredDescription
pathpath (string)Examples: /path/to/file, c:\users\joe\data\file.txt

Sftp - Host Key Verification - Fingerprint Fields

FieldTypeRequiredDescription
fingerprintstring

Sftp Fields

FieldTypeRequiredDescription
agent-forwardingboolean (bool)
known-hosts-pathstring
host-key-verificationHost Key Verification
jump-hoststring

Tftp Fields

FieldTypeRequiredDescription
block-sizenumber (integer)Examples: 42, 1.2e-10
timeout-msnumber (integer)Examples: 42, 1.2e-10
max-retriesnumber
file-namestring

Checksum Fields

FieldTypeRequiredDescription
verify-remoteboolean (bool)
algorithmAlgorithmAllowed values: md5, sha256

Batch - Mode Options

ValueDescription
fixedFixed
documentDocument

Protocol Options

ValueDescription
ftpFtp
ftps-explicitFtps Explicit
ftps-implicitFtps Implicit
sftpSftp
tftpTftp

Preprocessors Options

ValueDescription
gzipGzip the output data
parquetExtract the received data as JSON rows from a parquet file
base64Decode base64 as binary

Payload Mode Options

ValueDescription
autoAuto
jsonJson
rawRaw
binaryBinary

Checksum - Algorithm Options

ValueDescription
md5Md5
sha256Sha256