Within the destination argument of your request body, specify the destinationType, for example, HTTPS, and include all other required arguments for your destination type. See each destination type for details of its configuration.
Amazon S3
Argument
Required
Description
accessKey
✔
The Amazon S3 account access key for authentication.
bucket
✔
The Amazon S3 bucket's name.
destinationType
✔
The destination type. Set it to S3.
displayName
✔
The destination's name.
path
✔
The path to the log storage folder within your Amazon S3 bucket.
region
✔
The region where the Amazon S3 bucket resides.
secretAccessKey
✔
The secret access key used to authenticate requests to the Amazon S3
account.
The name of the index within an Elastic Cloud cluster where you want to store log files.
tlsHostname
The hostname that verifies the server's certificate and matches the Subject Alternative Names (SANs) in the
certificate. If not provided, DataStream fetches the hostname from the endpoint URL.
caCert
The certification authority (CA) certificate used to verify the origin server's certificate. If the
certificate is not signed by a well-known certification authority, provide the CA certificate in PEM format for verification.
clientCert
The digital certificate in the PEM format you want to use to authenticate requests to your destination. If you
want to use mutual authentication, you need to provide both the client certificate and the client key in PEM
format.
clientKey
The private key for back-end authentication in non-encrypted PKCS8 format. If you want to use mutual
authentication, you need to provide both the client certificate and the client key.
contentType
The content type to pass in the log file header.
customHeaderName
A custom header name passed with the request to the destination.
customHeaderValue
The custom header's value passed with the request to the destination.
Either NONE for no authentication or BASIC for username and password authentication.
destinationType
✔
The destination type. Set it to HTTPS.
displayName
✔
The destination's name.
endpoint
✔
The storage endpoint URL for the logs.
contentType
The content type to pass in the log file header.
compressLogs
A boolean that sets gzip compression for log files sent to a destination. If not set, it's false
by default.
customHeaderName
A custom header name passed with the request to the destination.
customHeaderValue
The custom header's value passed with the request to the destination.
password
The BASIC password for authentication.
userName
The BASIC user name for authentication.
tlsHostname
The hostname that verifies the server's certificate and matches the Subject Alternative Names (SANs) in the
certificate. If not provided, DataStream fetches the hostname from the endpoint URL.
caCert
The certification authority (CA) certificate used to verify the origin server's certificate. If the
certificate is not signed by a well-known certification authority, enter the CA certificate in PEM format for
verification.
clientCert
The digital certificate in the PEM format you want to use to authenticate requests to your destination. If you
want to use mutual authentication, you need to provide both the client certificate and the client key in PEM
format.
clientKey
The private key for back-end authentication in non-encrypted PKCS8 format. If you want to use mutual
authentication, you need to provide both the client certificate and the client key.
The private key for back-end authentication in non-encrypted PKCS8
format. If you want to use mutual authentication, you need to provide
both the client certificate and the client key.
caCert
The certification authority (CA) certificate used to verify the origin
server's certificate. If the certificate is not signed by a well-known
certification authority, enter the CA certificate in PEM format for
verification.
clientCert
The digital certificate in the PEM format you want to use to
authenticate requests to your destination. If you want to use mutual
authentication, you need to provide both the client certificate and the
client key in PEM format.
customHeaderName
A custom header name passed with the request to the destination.
customHeaderValue
The custom header's value passed with the request to the destination.
tlsHostname
The hostname that verifies the server's certificate and matches the
Subject Alternative Names (SANs) in the certificate. If not provided,
DataStream fetches the hostname from the endpoint URL.
compressLogs
A boolean that sets gzip compression for log files sent to a
destination. If not set, it's true by default.