class Fastly::S3Logging

An s3 endpoint to stream logs to

Attributes

access_key[RW]

The bucket's s3 account access key

bucket_name[RW]

The name of the s3 bucket

domain[RW]

The region-specific endpoint for your domain if your AWS S3 bucket was not set up in the US Standard region. See Amazon's list of supported, region-specific endpoints for more info. docs.aws.amazon.com/general/latest/gr/rande.html#s3_region

format[RW]

Apache style log formatting

format_version[RW]

The version of the custom logging format used for the configured endpoint. Can be either 1 (the default, version 1 log format) or 2 (the version 2 log format).

gzip_level[RW]

What level of gzip compression to have when dumping the logs (default 0, no compression).

message_type[RW]

How the message should be formatted. Can be either classic (RFC 3164 syslog prefix), loggly (RFC 5424 structured syslog), logplex (Heroku-style length prefixed syslog), or blank (No prefix. Useful for writing JSON and CSV).

name[RW]

The name for this s3 rule

path[RW]

The path to upload logs to

period[RW]

How frequently the logs should be dumped (in seconds, default 3600)

redundancy[RW]
response_condition[RW]

When to execute the s3 logging. If empty, always execute.

secret_key[RW]

The bucket's s3 account secret key

service_id[RW]

The id of the service this belongs to.

timestamp_format[RW]

strftime specified timestamp formatting (default “%Y-%m-%dT%H:%M:%S.000”).

version[RW]

The number of the version this belongs to.

Public Class Methods

path() click to toggle source

:attr: redundancy

The S3 redundancy level. Defaults to Standard. See docs.aws.amazon.com/AmazonS3/latest/dev/UsingRRS.html on using reduced redundancy storage for more information.

# File lib/fastly/s3_logging.rb, line 97
def self.path
  'logging/s3'
end