fluent-plugin-sumologic_output 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +87 -71
- data/CONTRIBUTING.md +4 -2
- data/README.md +1 -0
- data/Vagrantfile +9 -7
- data/fluent-plugin-sumologic_output.gemspec +1 -1
- data/lib/fluent/plugin/out_sumologic.rb +6 -3
- data/vagrant/README.md +15 -3
- data/vagrant/provision.sh +14 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8a0473276c4b0fec18515971e667af701ec17a631804b8793258e796ee8e3e06
|
|
4
|
+
data.tar.gz: 26a921d91b7df652bc77a3f74a2b9155e33fdea9275887f770ce80986e9be3e8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a5113103faf5eea6d3eeb7df42567e992aef3860c49a0ab5bb8e7c428d866003f1ed9d74fda54b8434727a45afb7e62ce8767475284a5475ae11450b22caf13
|
|
7
|
+
data.tar.gz: b172ff9e2e914fdf60e3faccd3f4f4f33cdbe92c6e00615d298abd5e3d918b595b01accb10e231e29b2617cb69b2883d303b1891a7d2a29a24a9bcaab0584bd8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Changelog
|
|
2
2
|
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [1.10.0]
|
|
9
|
+
|
|
10
|
+
Released 2024-10-08
|
|
11
|
+
|
|
12
|
+
- feat: make receive_timeout configurable [#96](https://github.com/SumoLogic/fluentd-output-sumologic/pull/96)
|
|
13
|
+
- chore: add arm support to vagrant [#95](https://github.com/SumoLogic/fluentd-output-sumologic/pull/95)
|
|
14
|
+
|
|
15
|
+
[1.10.0]: https://github.com/SumoLogic/fluentd-output-sumologic/releases/1.10.0
|
|
4
16
|
|
|
5
17
|
## [1.9.0]
|
|
6
18
|
|
|
@@ -15,131 +27,135 @@ Released 2024-02-14
|
|
|
15
27
|
|
|
16
28
|
[1.9.0]: https://github.com/SumoLogic/fluentd-output-sumologic/releases/1.9.0
|
|
17
29
|
|
|
18
|
-
|
|
19
|
-
# [1.8.0] (2022-04-22)
|
|
30
|
+
## [1.8.0] (2022-04-22)
|
|
20
31
|
|
|
21
32
|
- feat: add exponential backoff for sending data [#76](https://github.com/SumoLogic/fluentd-output-sumologic/pull/76)
|
|
22
33
|
- feat(max_request_size): add max_request_size to limit size of requests [#78](https://github.com/SumoLogic/fluentd-output-sumologic/pull/78)
|
|
23
34
|
|
|
24
|
-
|
|
25
|
-
|
|
35
|
+
[1.8.0]: https://github.com/SumoLogic/fluentd-output-sumologic/releases/1.8.0
|
|
36
|
+
|
|
37
|
+
## [1.7.5] (2022-04-11)
|
|
26
38
|
|
|
27
39
|
- refactor: add a debug log on sending [#75](https://github.com/SumoLogic/fluentd-output-sumologic/pull/75)
|
|
28
40
|
|
|
29
|
-
|
|
30
|
-
|
|
41
|
+
[1.7.5]: https://github.com/SumoLogic/fluentd-output-sumologic/releases/1.7.5
|
|
42
|
+
|
|
43
|
+
## [1.7.4] (2021-04-08)
|
|
31
44
|
|
|
32
45
|
- fix: handle receiver warning messages [#73](https://github.com/SumoLogic/fluentd-output-sumologic/pull/73)
|
|
33
46
|
|
|
34
|
-
|
|
35
|
-
|
|
47
|
+
[1.7.4]: https://github.com/SumoLogic/fluentd-output-sumologic/releases/1.7.4
|
|
48
|
+
|
|
49
|
+
## [1.7.3] (2021-10-19)
|
|
50
|
+
|
|
36
51
|
- Expose httpclient send_timeout [#66](https://github.com/SumoLogic/fluentd-output-sumologic/pull/68)
|
|
37
52
|
- Fix json parsing [#69](https://github.com/SumoLogic/fluentd-output-sumologic/pull/69)
|
|
38
53
|
|
|
39
|
-
|
|
40
|
-
|
|
54
|
+
[1.7.3]: https://github.com/SumoLogic/fluentd-output-sumologic/releases/1.7.3
|
|
55
|
+
|
|
56
|
+
## [1.7.2] (2020-11-23)
|
|
57
|
+
|
|
41
58
|
- Fix configuration for older fluentd versions [#63](https://github.com/SumoLogic/fluentd-output-sumologic/pull/63)
|
|
42
59
|
|
|
43
|
-
|
|
44
|
-
|
|
60
|
+
[1.7.2]: https://github.com/SumoLogic/fluentd-output-sumologic/releases/1.7.2
|
|
61
|
+
|
|
62
|
+
## [1.7.1] (2020-04-28)
|
|
63
|
+
|
|
45
64
|
- Fix configuration for older fluentd versions [#63](https://github.com/SumoLogic/fluentd-output-sumologic/pull/63)
|
|
46
65
|
|
|
47
|
-
|
|
48
|
-
|
|
66
|
+
[1.7.1]: https://github.com/SumoLogic/fluentd-output-sumologic/releases/1.7.1
|
|
67
|
+
|
|
68
|
+
## [1.7.0] (2020-04-23)
|
|
69
|
+
|
|
49
70
|
- Add option for specifing custom fields for logs: [#56](https://github.com/SumoLogic/fluentd-output-sumologic/pull/56)
|
|
50
71
|
- Add option for specifing custom dimensions for metrics: [#57](https://github.com/SumoLogic/fluentd-output-sumologic/pull/57)
|
|
51
72
|
- Add support for compression: [#58](https://github.com/SumoLogic/fluentd-output-sumologic/pull/58)
|
|
52
73
|
|
|
53
|
-
|
|
54
|
-
|
|
74
|
+
[1.7.0]: https://github.com/SumoLogic/fluentd-output-sumologic/releases/1.7.0
|
|
75
|
+
|
|
76
|
+
## [1.5.0] (2019-06-26)
|
|
77
|
+
|
|
55
78
|
- Add support for new log format fields: [#49](https://github.com/SumoLogic/fluentd-output-sumologic/pull/49)
|
|
56
79
|
|
|
57
|
-
|
|
58
|
-
|
|
80
|
+
[1.5.0]: https://github.com/SumoLogic/fluentd-output-sumologic/releases/1.5.0
|
|
81
|
+
|
|
82
|
+
## [1.4.1] (2019-03-13)
|
|
59
83
|
|
|
60
84
|
- Add option for sending metrics in Prometheus format [#39](https://github.com/SumoLogic/fluentd-output-sumologic/pull/39)
|
|
61
85
|
- Use the build-in extract_placeholders method for header expanding [#40](https://github.com/SumoLogic/fluentd-output-sumologic/pull/40)
|
|
62
86
|
|
|
63
87
|
__NOTE:__ there is a breaking change in the placeholders: `tag_parts[n]` is replaced by `tag[n]` [#47](https://github.com/SumoLogic/fluentd-output-sumologic/issues/47)
|
|
64
88
|
|
|
65
|
-
|
|
66
|
-
|
|
89
|
+
[1.4.1]: https://github.com/SumoLogic/fluentd-output-sumologic/releases/1.4.1
|
|
90
|
+
|
|
91
|
+
## [1.4.0] (2019-01-16)
|
|
92
|
+
|
|
93
|
+
- [Add timestamp_key, prefer log message when merging](https://github.com/SumoLogic/fluentd-output-sumologic/pull/37)
|
|
94
|
+
|
|
95
|
+
[1.4.0]: https://github.com/SumoLogic/fluentd-output-sumologic/releases/tag/1.4.0
|
|
96
|
+
|
|
97
|
+
## [1.3.2] (2018-12-05)
|
|
67
98
|
|
|
68
|
-
|
|
99
|
+
- Fix verify SSL bug
|
|
69
100
|
|
|
70
|
-
|
|
71
|
-
# [1.3.2] (2018-12-05)
|
|
101
|
+
[1.3.2]: https://github.com/SumoLogic/fluentd-output-sumologic/releases/tag/1.3.2
|
|
72
102
|
|
|
73
|
-
|
|
103
|
+
## [1.3.1] (2018-08-30)
|
|
74
104
|
|
|
75
|
-
|
|
76
|
-
# [1.3.1] (2018-08-30)
|
|
105
|
+
- [Sumo Logic endpoint is a secret](https://github.com/SumoLogic/fluentd-output-sumologic/pull/32)
|
|
77
106
|
|
|
78
|
-
|
|
107
|
+
[1.3.1]: https://github.com/SumoLogic/fluentd-output-sumologic/releases/tag/1.3.1
|
|
79
108
|
|
|
80
|
-
|
|
81
|
-
# [1.3.0] (2018-08-08)
|
|
109
|
+
## 1.3.0 (2018-08-08)
|
|
82
110
|
|
|
83
|
-
|
|
84
|
-
# [1.2.0] (2018-07-18)
|
|
111
|
+
## 1.2.0 (2018-07-18)
|
|
85
112
|
|
|
86
|
-
|
|
113
|
+
- add support for multi worker
|
|
87
114
|
|
|
88
|
-
|
|
89
|
-
# [1.1.1] (2018-07-12)
|
|
115
|
+
## 1.1.1 (2018-07-12)
|
|
90
116
|
|
|
91
|
-
|
|
117
|
+
- if `record[@log_key]` is json, parse it as JSON and not as string.
|
|
92
118
|
|
|
93
|
-
|
|
94
|
-
# [1.1.0] (2018-06-29)
|
|
119
|
+
## 1.1.0 (2018-06-29)
|
|
95
120
|
|
|
96
|
-
|
|
121
|
+
- Add support for sending metrics.
|
|
97
122
|
|
|
98
|
-
|
|
99
|
-
# [1.0.3] (2018-05-07)
|
|
123
|
+
## 1.0.3 (2018-05-07)
|
|
100
124
|
|
|
101
|
-
|
|
125
|
+
- [Fix #26 -- Don't chomp if the message is not chomp-able](https://github.com/SumoLogic/fluentd-output-sumologic/pull/29)
|
|
102
126
|
|
|
103
|
-
|
|
104
|
-
# [1.0.2] (2018-04-09)
|
|
127
|
+
## 1.0.2 (2018-04-09)
|
|
105
128
|
|
|
106
|
-
|
|
129
|
+
- [add option to turn off adding timestamp to logs](https://github.com/SumoLogic/fluentd-output-sumologic/pull/27)
|
|
107
130
|
|
|
108
|
-
|
|
109
|
-
# [1.0.1] (2017-12-19)
|
|
131
|
+
## 1.0.1 (2017-12-19)
|
|
110
132
|
|
|
111
|
-
|
|
133
|
+
- [Add client header for fluentd output](https://github.com/SumoLogic/fluentd-output-sumologic/pull/22)
|
|
112
134
|
|
|
113
|
-
|
|
114
|
-
# [1.0.0] (2017-11-06)
|
|
135
|
+
## 1.0.0 (2017-11-06)
|
|
115
136
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
137
|
+
- [Upgrade to 0.14 API, send with ms precision](https://github.com/SumoLogic/fluentd-output-sumologic/pull/12)
|
|
138
|
+
- [Switch to httpclient](https://github.com/SumoLogic/fluentd-output-sumologic/pull/16)
|
|
139
|
+
- [Fix missing variable and improve config example](https://github.com/SumoLogic/fluentd-output-sumologic/pull/17)
|
|
119
140
|
|
|
120
|
-
|
|
121
|
-
# [0.0.7] (2017-10-26)
|
|
141
|
+
## 0.0.7 (2017-10-26)
|
|
122
142
|
|
|
123
|
-
|
|
124
|
-
|
|
143
|
+
- [Expand parameters in the output configuration](https://github.com/SumoLogic/fluentd-output-sumologic/pull/14)
|
|
144
|
+
- [add open_timeout option](https://github.com/SumoLogic/fluentd-output-sumologic/pull/15)
|
|
125
145
|
|
|
126
|
-
|
|
127
|
-
# [0.0.6] (2017-08-23)
|
|
146
|
+
## 0.0.6 (2017-08-23)
|
|
128
147
|
|
|
129
|
-
|
|
148
|
+
- Fix 0.0.5
|
|
130
149
|
|
|
131
|
-
|
|
132
|
-
# [0.0.5] (2017-08-18)
|
|
150
|
+
## 0.0.5 (2017-08-18)
|
|
133
151
|
|
|
134
|
-
|
|
135
|
-
|
|
152
|
+
- [Ignore garbage records. Fix inspired by other plugins](https://github.com/SumoLogic/fluentd-output-sumologic/pull/7)
|
|
153
|
+
- [Extract the source_name from FluentD's buffer](https://github.com/SumoLogic/fluentd-output-sumologic/pull/8)
|
|
136
154
|
|
|
137
|
-
|
|
138
|
-
# [0.0.4] (2017-07-05)
|
|
155
|
+
## 0.0.4 (2017-07-05)
|
|
139
156
|
|
|
140
|
-
|
|
157
|
+
- [Raise an exception for all non HTTP Success response codes](https://github.com/SumoLogic/fluentd-output-sumologic/pull/5)
|
|
141
158
|
|
|
142
|
-
|
|
143
|
-
# [0.0.3] (2016-12-10)
|
|
159
|
+
## 0.0.3 (2016-12-10)
|
|
144
160
|
|
|
145
|
-
|
|
161
|
+
- Initial Release
|
data/CONTRIBUTING.md
CHANGED
|
@@ -7,14 +7,16 @@
|
|
|
7
7
|
- Set `gem.version` to `"x.y.z"` in [fluent-plugin-sumologic_output.gemspec](fluent-plugin-sumologic_output.gemspec).
|
|
8
8
|
- Add new version to [CHANGELOG.md](./CHANGELOG.md).
|
|
9
9
|
|
|
10
|
+
Example PR: [#92](https://github.com/SumoLogic/fluentd-output-sumologic/pull/92)
|
|
11
|
+
|
|
10
12
|
2. Create and push the release tag:
|
|
11
13
|
|
|
12
14
|
```bash
|
|
13
15
|
git checkout main
|
|
14
16
|
git pull
|
|
15
17
|
export VERSION=x.y.z
|
|
16
|
-
git tag -a "
|
|
17
|
-
git push origin "
|
|
18
|
+
git tag -a "${VERSION}" -m "Release ${VERSION}"
|
|
19
|
+
git push origin "${VERSION}"
|
|
18
20
|
```
|
|
19
21
|
|
|
20
22
|
This will trigger the GitHub Actions [publish](./.github/workflows/publish.yaml) action to pubilsh the gem in Ruby Gems.
|
data/README.md
CHANGED
|
@@ -28,6 +28,7 @@ Configuration options for fluent.conf are:
|
|
|
28
28
|
* json_merge - Same as json but merge content of `log_key` into the top level and strip `log_key`
|
|
29
29
|
* `log_key` - Used to specify the key when merging json or sending logs in text format (default `message`)
|
|
30
30
|
* `open_timeout` - Set timeout seconds to wait until connection is opened.
|
|
31
|
+
* `receieve_timeout` - Set timeout seconds to wait for a response from SumoLogic in seconds. Don't modify unless you see `HTTPClient::ReceiveTimeoutError` in your Fluentd logs.
|
|
31
32
|
* `send_timeout` - Timeout for sending to SumoLogic in seconds. Don't modify unless you see `HTTPClient::SendTimeoutError` in your Fluentd logs. (default `120`)
|
|
32
33
|
* `add_timestamp` - Add `timestamp` (or `timestamp_key`) field to logs before sending to sumologic (default `true`)
|
|
33
34
|
* `timestamp_key` - Field name when `add_timestamp` is on (default `timestamp`)
|
data/Vagrantfile
CHANGED
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
# -*- mode: ruby -*-
|
|
2
2
|
# vi: set ft=ruby :
|
|
3
3
|
|
|
4
|
-
unless Vagrant.has_plugin?("vagrant-disksize")
|
|
5
|
-
puts "vagrant-disksize plugin unavailable\n" +
|
|
6
|
-
"please install it via 'vagrant plugin install vagrant-disksize'"
|
|
7
|
-
exit 1
|
|
8
|
-
end
|
|
9
|
-
|
|
10
4
|
Vagrant.configure('2') do |config|
|
|
11
5
|
config.vm.box = 'ubuntu/focal64'
|
|
12
|
-
config.
|
|
6
|
+
config.vm.disk :disk, size: "50GB", primary: true
|
|
13
7
|
config.vm.box_check_update = false
|
|
14
8
|
config.vm.host_name = 'fluentd-output-sumologic'
|
|
15
9
|
# Vbox 6.1.28+ restricts host-only adapters to 192.168.56.0/21
|
|
@@ -23,6 +17,14 @@ Vagrant.configure('2') do |config|
|
|
|
23
17
|
vb.name = 'fluentd-output-sumologic'
|
|
24
18
|
end
|
|
25
19
|
|
|
20
|
+
config.vm.provider "qemu" do |qe, override|
|
|
21
|
+
override.vm.box = "perk/ubuntu-2204-arm64"
|
|
22
|
+
qe.gui = false
|
|
23
|
+
qe.smp = 8
|
|
24
|
+
qe.memory = 16384
|
|
25
|
+
qe.name = 'fluentd-output-sumologic'
|
|
26
|
+
end
|
|
27
|
+
|
|
26
28
|
config.vm.provision 'shell', path: 'vagrant/provision.sh'
|
|
27
29
|
|
|
28
30
|
config.vm.synced_folder ".", "/sumologic"
|
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |gem|
|
|
6
6
|
gem.name = "fluent-plugin-sumologic_output"
|
|
7
|
-
gem.version = "1.
|
|
7
|
+
gem.version = "1.10.0"
|
|
8
8
|
gem.authors = ["Steven Adams", "Frank Reno"]
|
|
9
9
|
gem.email = ["stevezau@gmail.com", "frank.reno@me.com"]
|
|
10
10
|
gem.description = %q{Output plugin to SumoLogic HTTP Endpoint}
|
|
@@ -13,10 +13,10 @@ class SumologicConnection
|
|
|
13
13
|
COMPRESS_DEFLATE = 'deflate'
|
|
14
14
|
COMPRESS_GZIP = 'gzip'
|
|
15
15
|
|
|
16
|
-
def initialize(endpoint, verify_ssl, connect_timeout, send_timeout, proxy_uri, disable_cookies, sumo_client, compress_enabled, compress_encoding, logger)
|
|
16
|
+
def initialize(endpoint, verify_ssl, connect_timeout, receive_timeout, send_timeout, proxy_uri, disable_cookies, sumo_client, compress_enabled, compress_encoding, logger)
|
|
17
17
|
@endpoint = endpoint
|
|
18
18
|
@sumo_client = sumo_client
|
|
19
|
-
create_http_client(verify_ssl, connect_timeout, send_timeout, proxy_uri, disable_cookies)
|
|
19
|
+
create_http_client(verify_ssl, connect_timeout, receive_timeout, send_timeout, proxy_uri, disable_cookies)
|
|
20
20
|
@compress = compress_enabled
|
|
21
21
|
@compress_encoding = (compress_encoding ||= COMPRESS_GZIP).downcase
|
|
22
22
|
@logger = logger
|
|
@@ -94,10 +94,11 @@ class SumologicConnection
|
|
|
94
94
|
verify_ssl==true ? OpenSSL::SSL::VERIFY_PEER : OpenSSL::SSL::VERIFY_NONE
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
-
def create_http_client(verify_ssl, connect_timeout, send_timeout, proxy_uri, disable_cookies)
|
|
97
|
+
def create_http_client(verify_ssl, connect_timeout, receive_timeout, send_timeout, proxy_uri, disable_cookies)
|
|
98
98
|
@http = HTTPClient.new(proxy_uri)
|
|
99
99
|
@http.ssl_config.verify_mode = ssl_options(verify_ssl)
|
|
100
100
|
@http.connect_timeout = connect_timeout
|
|
101
|
+
@http.receive_timeout = receive_timeout
|
|
101
102
|
@http.send_timeout = send_timeout
|
|
102
103
|
if disable_cookies
|
|
103
104
|
@http.cookie_manager = nil
|
|
@@ -152,6 +153,7 @@ class Fluent::Plugin::Sumologic < Fluent::Plugin::Output
|
|
|
152
153
|
config_param :verify_ssl, :bool, :default => true
|
|
153
154
|
config_param :delimiter, :string, :default => "."
|
|
154
155
|
config_param :open_timeout, :integer, :default => 60
|
|
156
|
+
config_param :receive_timeout, :integer, :default => 60
|
|
155
157
|
config_param :send_timeout, :integer, :default => 120
|
|
156
158
|
config_param :add_timestamp, :bool, :default => true
|
|
157
159
|
config_param :timestamp_key, :string, :default => 'timestamp'
|
|
@@ -232,6 +234,7 @@ class Fluent::Plugin::Sumologic < Fluent::Plugin::Output
|
|
|
232
234
|
@endpoint,
|
|
233
235
|
@verify_ssl,
|
|
234
236
|
@open_timeout,
|
|
237
|
+
@receive_timeout,
|
|
235
238
|
@send_timeout,
|
|
236
239
|
@proxy_uri,
|
|
237
240
|
@disable_cookies,
|
data/vagrant/README.md
CHANGED
|
@@ -5,17 +5,29 @@
|
|
|
5
5
|
Please install the following:
|
|
6
6
|
|
|
7
7
|
- [VirtualBox](https://www.virtualbox.org/)
|
|
8
|
-
- [Vagrant](https://
|
|
9
|
-
|
|
8
|
+
- [Vagrant](https://developer.hashicorp.com/vagrant/downloads)
|
|
9
|
+
|
|
10
|
+
### General
|
|
11
|
+
|
|
12
|
+
1. Install `vagrant` as per <https://developer.hashicorp.com/vagrant/downloads>
|
|
13
|
+
2. Configure a provider
|
|
14
|
+
3. Run `vagrant up` and then `vagrant ssh`
|
|
10
15
|
|
|
11
16
|
### MacOS
|
|
12
17
|
|
|
13
18
|
```bash
|
|
14
19
|
brew cask install virtualbox
|
|
15
20
|
brew cask install vagrant
|
|
16
|
-
vagrant plugin install vagrant-disksize
|
|
17
21
|
```
|
|
18
22
|
|
|
23
|
+
### ARM hosts (Apple M1, and so on)
|
|
24
|
+
|
|
25
|
+
You'll need to use QEMU instead of VirtualBox to use Vagrant on ARM. The following instructions will assume an M1 Mac as the host:
|
|
26
|
+
|
|
27
|
+
1. Install QEMU: `brew install qemu`
|
|
28
|
+
2. Install the QEMU vagrant provider: `vagrant plugin install vagrant-qemu`
|
|
29
|
+
3. Provision the VM with the provider: `vagrant up --provider=qemu`
|
|
30
|
+
|
|
19
31
|
## Setting up
|
|
20
32
|
|
|
21
33
|
You can set up the Vagrant environment with just one command:
|
data/vagrant/provision.sh
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
set -x
|
|
4
4
|
|
|
5
5
|
export DEBIAN_FRONTEND=noninteractive
|
|
6
|
+
ARCH="$(dpkg --print-architecture)"
|
|
7
|
+
|
|
6
8
|
apt-get update
|
|
7
9
|
apt-get --yes upgrade
|
|
8
10
|
apt-get --yes install apt-transport-https
|
|
@@ -12,7 +14,7 @@ echo "export EDITOR=vim" >> /home/vagrant/.bashrc
|
|
|
12
14
|
# Install docker
|
|
13
15
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
|
|
14
16
|
add-apt-repository \
|
|
15
|
-
"deb [arch
|
|
17
|
+
"deb [arch=${ARCH}] https://download.docker.com/linux/ubuntu \
|
|
16
18
|
$(lsb_release -cs) \
|
|
17
19
|
stable"
|
|
18
20
|
apt-get install -y docker-ce docker-ce-cli containerd.io
|
|
@@ -22,5 +24,14 @@ usermod -aG docker vagrant
|
|
|
22
24
|
apt-get install -y make
|
|
23
25
|
|
|
24
26
|
# install requirements for ruby
|
|
25
|
-
|
|
26
|
-
|
|
27
|
+
apt install -y \
|
|
28
|
+
gcc \
|
|
29
|
+
g++ \
|
|
30
|
+
libsnappy-dev \
|
|
31
|
+
libicu-dev \
|
|
32
|
+
zlib1g-dev \
|
|
33
|
+
cmake \
|
|
34
|
+
pkg-config \
|
|
35
|
+
libssl-dev \
|
|
36
|
+
ruby-dev \
|
|
37
|
+
ruby-bundler
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-sumologic_output
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.10.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Adams
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2024-
|
|
12
|
+
date: 2024-10-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|