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] |
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 |
str |
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" |
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] |
address |
str |
An hostname or IPv4 address. |
[optional] |
hostname |
str |
Hostname used. |
[optional] |
ipv4 |
str |
IPv4 address of the host. |
[optional] |
password |
str |
The password for the server. For anonymous use an email address. |
[optional] |
path |
str |
The path to upload log files to. If the path ends in / then it is treated as a directory. |
[optional] |
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" |
user |
str |
The username for the server. Can be anonymous. |
[optional] |
port |
str |
The port number. |
[optional] if omitted the server will use the default value of "21" |
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] |