fastly 1.12.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastly/gem_version.rb +1 -1
- data/lib/fastly/sumologic_logging.rb +96 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6146010d23344ef08ba93e3024b0bc202e6fbb23
|
4
|
+
data.tar.gz: 215ccfba25e7ea286d92f1471baefc6d4beff551
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb41db9392fecd8f3168336b9ee615d0adb69edd1a6e72b3576f23b35c223b5f43962c2d788a730a05407a6f2842d597df7ee792c0cc9d28d9caec6afea5b0b5
|
7
|
+
data.tar.gz: bff18fa878f343a3f3108b6eced466a3ab5e78281a81526eba138bf7461a1f12abdf3ef99b6f78b23fb9755b8eb9ec77a56413661c8752bbdd4d387d910f1e81
|
data/lib/fastly/gem_version.rb
CHANGED
@@ -0,0 +1,96 @@
|
|
1
|
+
class Fastly
|
2
|
+
# An Google Cloud Storage endpoint to stream logs to
|
3
|
+
class SumologicLogging < BelongsToServiceAndVersion
|
4
|
+
attr_accessor :service_id, :name, :period, :placement, :gzip_level, :format, :comment, :format_version, :message_type, :response_condition, :timestamp_format, :created_at, :updated_at, :deleted_at
|
5
|
+
|
6
|
+
##
|
7
|
+
# :attr: service_id
|
8
|
+
#
|
9
|
+
# The id of the service this belongs to.
|
10
|
+
|
11
|
+
##
|
12
|
+
# :attr: version
|
13
|
+
#
|
14
|
+
# The number of the version this belongs to.
|
15
|
+
|
16
|
+
##
|
17
|
+
# :attr: name
|
18
|
+
#
|
19
|
+
# The name for this gcs rule
|
20
|
+
|
21
|
+
##
|
22
|
+
# :attr: url
|
23
|
+
#
|
24
|
+
# The collector endpoint URL defined by Sumologic
|
25
|
+
|
26
|
+
##
|
27
|
+
# :attr: period
|
28
|
+
#
|
29
|
+
# How frequently the logs should be dumped (in seconds, default 3600)
|
30
|
+
|
31
|
+
##
|
32
|
+
# :attr: placement
|
33
|
+
#
|
34
|
+
# Where in the generated VCL the logging call should be placed
|
35
|
+
|
36
|
+
##
|
37
|
+
# :attr: gzip_level
|
38
|
+
#
|
39
|
+
# What level of gzip compression to have when dumping the logs (default
|
40
|
+
# 0, no compression).
|
41
|
+
|
42
|
+
##
|
43
|
+
# :attr: format
|
44
|
+
#
|
45
|
+
# Apache style log formatting
|
46
|
+
|
47
|
+
##
|
48
|
+
# :attr: comment
|
49
|
+
#
|
50
|
+
# A comment about this object
|
51
|
+
|
52
|
+
##
|
53
|
+
# :attr: format_version
|
54
|
+
#
|
55
|
+
# The version of the custom logging format used for the configured endpoint.
|
56
|
+
# Can be either 1 (the default, version 1 log format) or 2 (the version 2
|
57
|
+
# log format).
|
58
|
+
|
59
|
+
##
|
60
|
+
# :attr: message_type
|
61
|
+
#
|
62
|
+
# How the message should be formatted. Can be either classic (RFC 3164
|
63
|
+
# syslog prefix), loggly (RFC 5424 structured syslog), logplex (Heroku-style
|
64
|
+
# length prefixed syslog), or blank (No prefix. Useful for writing JSON and
|
65
|
+
# CSV).
|
66
|
+
|
67
|
+
##
|
68
|
+
# :attr: response_condition
|
69
|
+
#
|
70
|
+
# When to execute the gcs logging. If empty, always execute.
|
71
|
+
|
72
|
+
##
|
73
|
+
# :attr: timestamp_format
|
74
|
+
#
|
75
|
+
# strftime specified timestamp formatting (default "%Y-%m-%dT%H:%M:%S.000").
|
76
|
+
|
77
|
+
##
|
78
|
+
# :attr: created_at
|
79
|
+
#
|
80
|
+
# Timestamp when this object was created
|
81
|
+
|
82
|
+
##
|
83
|
+
# :attr: updated_at
|
84
|
+
#
|
85
|
+
# Timestamp when this object was updated
|
86
|
+
|
87
|
+
##
|
88
|
+
# :attr: deleted_at
|
89
|
+
#
|
90
|
+
# Timestamp when this object was deleted
|
91
|
+
|
92
|
+
def self.path
|
93
|
+
'logging/sumologic'
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fastly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Client library for the Fastly acceleration system
|
14
14
|
email:
|
@@ -65,6 +65,7 @@ files:
|
|
65
65
|
- lib/fastly/service.rb
|
66
66
|
- lib/fastly/settings.rb
|
67
67
|
- lib/fastly/snippet.rb
|
68
|
+
- lib/fastly/sumologic_logging.rb
|
68
69
|
- lib/fastly/syslog.rb
|
69
70
|
- lib/fastly/user.rb
|
70
71
|
- lib/fastly/util.rb
|