Authorizations
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Body
Storage type.
Possible values:
- ftp
- sftp
- s3
Defines whether logs of all CDN resources are delivered to one folder/bucket or to separate ones.
Possible values:
- true - Logs of all CDN resources are delivered to one folder/bucket.
- false - Logs of different CDN resources are delivered to separate folders/buckets.
Name of the S3 bucket to which logs for all CDN resources are delivered.
Parameter meaning depends on the value of the "storage_type
" value:
- If "
storage_type
": s3 - Name of the S3 bucket sub-folder to which logs for all CDN resources are delivered. - If "
storage_type
": ftp/sftp - Name of the folder (or path) to which logs for all CDN resources are delivered.
List of folders/buckets for receiving CDN resources logs.
Storage type compatible with S3.
Possible values:
- amazon – AWS S3 storage.
- other – Other (not AWS) S3 compatible storage.
Access key ID for the S3 account.
Access Key ID is 20 alpha-numeric characters like 022QF06E7MXBSH9DHM02
Secret access key for the S3 account.
Secret Access Key is 20-50 alpha-numeric-slash-plus characters like kWcrlUX5JEDGM/LtmEENI/aVmYvHNif5zB+d9+ct
S3 storage hostname.
It is required if "s3_type
": other.
FTP storage hostname.
FTP storage login.
FTP storage password.
SFTP storage hostname.
SFTP storage login.
SFTP storage password.
It should be empty if "sftp_private_key
" is set.
Enables or disables a log forwarding feature.
Possible values:
- true - log forwarding feature is active.
- false - log forwarding feature is deactivated.
Enables or disables the forwarding of empty logs.
Possible values:
- true - Empty logs are not sent.
- false - Empty logs are sent.
Amazon AWS region.
S3 bucket hostname.
Restrictions:
- Maximum of 255 symbols.
- Latin letters (A-Z, a-z,) digits (0-9,) dots, colons, dashes, and underscores.
- Required if "
s3_type
": other.
Location of S3 storage.
Restrictions:
- Maximum of 255 symbols.
- Latin letters (A-Z, a-z), digits (0-9), dots, colons, dashes, and underscores (.:_-).
Name of the FTP prepend folder for log delivery.
Null is allowed.
Name of the SFTP prepend folder for log delivery.
Null is allowed.
Private key for SFTP authorization.
Possible values:
- RSA
- ED25519
It should be empty if "sftp_password
" is set.
Passphrase for SFTP private key.
Restrictions:
- Should be set if private key encoded with passphrase.
- Should be empty if "
sftp_password
" is set.
The size of a single piece of the archive in MB. In case of null value logs are delivered without slicing.
500 <= x <= 2000
Response
Successful.