class Fastly::Syslog
An endpoint to stream syslogs to
Attributes
A magic field - will automagically be set to whichever of ipv4, ipv6 or hostname is currently set.
Conversely if you set the address field then the correct field from ipv4, ipv6 or hostname will be set.
a free form comment field
Format to log like in apache format
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).
the hostname to to stream logs to (this, ipv4 or ipv6 must be set)
the ipv4 address of the host to stream logs to (this, hostname or ipv6 must be set)
the ipv6 address of the host to stream logs to (this, hostname or ipv4 must be set)
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).
The domain name of this domain
Where in the generated VCL
the logging call should be placed
the port to stream logs to (defaults to 514)
name of a response_condition
to filter the log on, if empty it always logs
The id of the service this belongs to.
Hostname used to verify the certificate. It can either be the CN or be in subAltNames. Not required.
Whether to prepend each message with a specific token.
Establish a TLS connection when connecting
The number of the version this belongs to.
Public Class Methods
:attr: tls_ca_cert
Use this pem formatted certificate as the CA cert to verify the syslog server's certificate
# File lib/fastly/syslog.rb, line 107 def self.path 'logging/syslog' end