class Fastly::PapertrailLogging

A Papertrail endpoint to stream logs to

Attributes

address[RW]

Hostname of the papertrail server - located at the top of your Papertrail Setup e.g. papertrailapp.com/account/t destinations

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).

hostname[RW]

Source name of the Fastly logs in Papertrail

name[RW]

The name for this s3 rule

port[RW]

Port of the Papertrail server from Papertrail account

response_condition[RW]

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

service_id[RW]

The id of the service this belongs to.

timestamp_format[RW]
version[RW]

The number of the version this belongs to.

Public Class Methods

path() click to toggle source

:attr: timestamp_format

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

# File lib/fastly/papertrail_logging.rb, line 59
def self.path
  'logging/papertrail'
end