WebService::Fastly::Object::LoggingSftp
Load the model package
Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
name | string | The name for the real-time logging configuration. | [optional]
placement | string | Where in the generated VCL the logging call should be placed. If not set, endpoints with format_version
of 2 are placed in vcl_log
and those with format_version
of 1 are placed in vcl_deliver
. | [optional]
format_version | int | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in vcl_log
if format_version
is set to 2
and in vcl_deliver
if format_version
is set to 1
. | [optional] [default to 2]
response_condition | string | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional]
format | string | A Fastly log format string. | [optional] [default to '%h %l %u %t "%r" %>s %b']
message_type | string | How the message should be formatted. | [optional] [default to 'classic']
timestamp_format | string | A timestamp format | [optional] [readonly]
period | int | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [default to 3600]
gzip_level | int | The level of gzip encoding when sending logs (default 0
, no compression). Specifying both compression_codec
and gzip_level
in the same API request will result in an error. | [optional] [default to 0]
compression_codec | string | The codec used for compressing your logs. Valid values are zstd
, snappy
, and gzip
. Specifying both compression_codec
and gzip_level
in the same API request will result in an error. | [optional]
address | string | A hostname or IPv4 address. | [optional]
port | int | The port number. | [optional] [default to 22]
password | string | The password for the server. If both password
and secret_key
are passed, secret_key
will be used in preference. | [optional]
path | string | The path to upload logs to. | [optional] [default to 'null']
public_key | string | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [default to 'null']
secret_key | string | The SSH private key for the server. If both password
and secret_key
are passed, secret_key
will be used in preference. | [optional] [default to 'null']
ssh_known_hosts | string | A list of host keys for all hosts we can connect to over SFTP. | [optional]
user | string | The username for the server. | [optional]