name |
str |
The name for the real-time logging configuration. |
[optional] |
placement |
str, none_type |
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] |
response_condition |
str, none_type |
The name of an existing condition in the configured endpoint, or leave blank to always execute. |
[optional] |
format |
str |
A Fastly log format string. |
[optional] if omitted the server will use the default value of "%h %l %u %t "%r" %>s %b" |
format_version |
str |
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] if omitted the server will use the default value of "2" |
message_type |
str |
How the message should be formatted. |
[optional] if omitted the server will use the default value of "classic" |
timestamp_format |
str, none_type |
A timestamp format |
[optional] [readonly] |
compression_codec |
str |
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] |
created_at |
datetime, none_type |
Date and time in ISO 8601 format. |
[optional] [readonly] |
deleted_at |
datetime, none_type |
Date and time in ISO 8601 format. |
[optional] [readonly] |
updated_at |
datetime, none_type |
Date and time in ISO 8601 format. |
[optional] [readonly] |
service_id |
str |
|
[optional] [readonly] |
version |
str |
|
[optional] [readonly] |
password |
str |
The password for the server. If both password and secret_key are passed, secret_key will be used in preference. |
[optional] |
path |
str, none_type |
The path to upload logs to. |
[optional] if omitted the server will use the default value of "null" |
public_key |
str, none_type |
A PGP public key that Fastly will use to encrypt your log files before writing them to disk. |
[optional] if omitted the server will use the default value of "null" |
secret_key |
str, none_type |
The SSH private key for the server. If both password and secret_key are passed, secret_key will be used in preference. |
[optional] if omitted the server will use the default value of "null" |
ssh_known_hosts |
str |
A list of host keys for all hosts we can connect to over SFTP. |
[optional] |
user |
str |
The username for the server. |
[optional] |
address |
str |
A hostname or IPv4 address. |
[optional] |
port |
str |
The port number. |
[optional] if omitted the server will use the default value of "22" |
period |
str |
How frequently log files are finalized so they can be available for reading (in seconds). |
[optional] if omitted the server will use the default value of "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] if omitted the server will use the default value of 0 |
any string name |
bool, date, datetime, dict, float, int, list, str, none_type |
any string name can be used but the value must be the correct type |
[optional] |