Skip to content

Commit 0f9a823

Browse files
authored
Merge pull request #239 from kube-logging/fix/patch-es-compat
fix: fluent-plugin-elasticsearch 6.0.0 compat with es 7-8
2 parents d613837 + 7e08b87 commit 0f9a823

File tree

3 files changed

+64
-19
lines changed

3 files changed

+64
-19
lines changed

v1.16-4.10/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ RUN apk add --no-cache $BUILD_DEPS \
9595
# TODO get rid of this by submitting the patch upstream
9696
&& fluent-gem specific_install -l https://github.com/kube-logging/fluent-plugin-gcs.git --ref ad6a7cb0f166e2c1648954a928e1e9b8cdcbf93d \
9797
&& fluent-gem specific_install -l https://github.com/kube-logging/fluent-plugin-syslog_rfc5424.git --ref 4ab9f7df3757b0e31e4bc209acab05a518efdce3 \
98+
&& fluent-gem specific_install -l https://github.com/kube-logging/fluent-plugin-elasticsearch.git --ref f711c4322e37852a83caab0385ba4567031eb9ab \
9899
&& fluent-gem install --file /Gemfile.outputs \
99100
&& find /usr/local/bundle/gems/ -newer /etc/gemrc -exec chown fluent:fluent {} \; \
100101
&& apk del $BUILD_DEPS \

v1.16-4.10/outputs/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ gem 'fluent-plugin-kafka', '0.19.4'
66
gem 'fluent-plugin-grafana-loki', '1.2.20'
77
gem 'fluent-plugin-kinesis', '3.5.0'
88
gem 'fluent-plugin-splunk-hec', '1.3.3'
9-
gem 'fluent-plugin-elasticsearch', '5.4.4'
9+
gem 'fluent-plugin-elasticsearch', '6.0.0'
1010
gem 'fluent-plugin-newrelic', '1.2.3'
1111
gem 'fluent-plugin-cloudwatch-logs', '0.15.0'
1212
gem 'fluent-plugin-opensearch', '1.1.5'

v1.16-4.10/outputs/Gemfile.lock

Lines changed: 62 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,24 @@ GEM
1919
aliyun-sdk (0.7.0)
2020
nokogiri (~> 1.6)
2121
rest-client (~> 2.0)
22+
async (2.24.0)
23+
console (~> 1.29)
24+
fiber-annotation
25+
io-event (~> 1.9)
26+
metrics (~> 0.12)
27+
traces (~> 0.15)
28+
async-http (0.91.0)
29+
async (>= 2.10.2)
30+
async-pool (~> 0.11)
31+
io-endpoint (~> 0.14)
32+
io-stream (~> 0.6)
33+
metrics (~> 0.12)
34+
protocol-http (~> 0.49)
35+
protocol-http1 (~> 0.30)
36+
protocol-http2 (~> 0.22)
37+
traces (~> 0.10)
38+
async-pool (0.11.0)
39+
async (>= 2.0)
2240
attr_required (1.0.1)
2341
aws-eventstream (1.3.2)
2442
aws-partitions (1.1103.0)
@@ -43,39 +61,43 @@ GEM
4361
aws-sigv4 (~> 1.1)
4462
aws-sigv4 (1.11.0)
4563
aws-eventstream (~> 1, >= 1.0.2)
46-
base64 (0.2.0)
64+
base64 (0.3.0)
4765
bigdecimal (3.1.9)
4866
bindata (2.5.0)
4967
concurrent-ruby (1.3.5)
5068
connection_pool (2.4.1)
69+
console (1.34.1)
70+
fiber-annotation
71+
fiber-local (~> 1.1)
72+
json
5173
cool.io (1.9.0)
52-
csv (3.3.4)
74+
csv (3.3.5)
5375
date (3.4.1)
5476
digest-crc (0.6.5)
5577
rake (>= 12.0.0, < 14.0.0)
5678
domain_name (0.5.20190701)
5779
unf (>= 0.0.5, < 1.0.0)
58-
drb (2.2.1)
59-
elastic-transport (8.4.0)
80+
drb (2.2.3)
81+
elastic-transport (8.4.1)
6082
faraday (< 3)
6183
multi_json
62-
elasticsearch (8.18.0)
63-
elastic-transport (~> 8.4)
64-
elasticsearch-api (= 8.18.0)
65-
elasticsearch-api (8.18.0)
84+
elasticsearch (9.1.2)
85+
elastic-transport (~> 8.3)
86+
elasticsearch-api (= 9.1.2)
87+
elasticsearch-api (9.1.2)
6688
multi_json
67-
excon (1.2.5)
89+
excon (1.3.0)
6890
logger
69-
faraday (2.13.1)
91+
faraday (2.14.0)
7092
faraday-net_http (>= 2.0, < 3.5)
7193
json
7294
logger
73-
faraday-excon (2.3.0)
95+
faraday-excon (2.4.0)
7496
excon (>= 1.0.0)
7597
faraday (>= 2.11.0, < 3)
7698
faraday-follow_redirects (0.3.0)
7799
faraday (>= 1, < 3)
78-
faraday-net_http (3.4.0)
100+
faraday-net_http (3.4.1)
79101
net-http (>= 0.5.0)
80102
faraday_middleware-aws-sigv4 (1.0.1)
81103
aws-sigv4 (~> 1.0)
@@ -84,6 +106,10 @@ GEM
84106
ffi-compiler (1.0.1)
85107
ffi (>= 1.0.0)
86108
rake
109+
fiber-annotation (0.2.0)
110+
fiber-local (1.1.0)
111+
fiber-storage
112+
fiber-storage (1.0.1)
87113
fluent-mixin-config-placeholders (0.4.0)
88114
fluentd
89115
uuidtools (>= 2.1.5)
@@ -96,7 +122,7 @@ GEM
96122
fluent-plugin-datadog (0.14.4)
97123
fluentd (>= 1, < 2)
98124
net-http-persistent (~> 4.0.1)
99-
fluent-plugin-elasticsearch (5.4.4)
125+
fluent-plugin-elasticsearch (6.0.0)
100126
elasticsearch
101127
excon
102128
faraday (>= 2.0.0)
@@ -169,22 +195,27 @@ GEM
169195
fluent-plugin-webhdfs (1.6.0)
170196
fluentd (>= 0.14.22)
171197
webhdfs (>= 0.11.0)
172-
fluentd (1.18.0)
198+
fluentd (1.19.0)
199+
async-http (~> 0.86)
173200
base64 (~> 0.2)
174201
bundler
175202
cool.io (>= 1.4.5, < 2.0.0)
176203
csv (~> 3.2)
177204
drb (~> 2.2)
178205
http_parser.rb (>= 0.5.1, < 0.9.0)
206+
io-event (< 1.11.0)
207+
io-stream (< 0.8.0)
179208
logger (~> 1.6)
180209
msgpack (>= 1.3.1, < 2.0.0)
181210
serverengine (>= 2.3.2, < 3.0.0)
182211
sigdump (~> 0.2.5)
183212
strptime (>= 0.2.4, < 1.0.0)
184213
tzinfo (>= 1.0, < 3.0)
185214
tzinfo-data (~> 1.0)
215+
uri (~> 1.0)
186216
webrick (~> 1.4)
187217
yajl-ruby (~> 1.0)
218+
zstd-ruby (~> 1.5)
188219
gelf_redux (4.1.0)
189220
json
190221
google-protobuf (3.25.5)
@@ -201,8 +232,11 @@ GEM
201232
httpclient (2.8.3)
202233
i18n (1.14.4)
203234
concurrent-ruby (~> 1.0)
235+
io-endpoint (0.15.2)
236+
io-event (1.10.2)
237+
io-stream (0.7.0)
204238
jmespath (1.6.2)
205-
json (2.10.2)
239+
json (2.15.1)
206240
json-jwt (1.15.3.1)
207241
activesupport (>= 4.2)
208242
aes_key_wrap
@@ -218,14 +252,15 @@ GEM
218252
net-imap
219253
net-pop
220254
net-smtp
255+
metrics (0.15.0)
221256
mime-types (3.5.1)
222257
mime-types-data (~> 3.2015)
223258
mime-types-data (3.2023.1003)
224259
mini_mime (1.1.5)
225260
mini_portile2 (2.8.8)
226261
minitest (5.22.2)
227262
msgpack (1.8.0)
228-
multi_json (1.15.0)
263+
multi_json (1.17.0)
229264
mutex_m (0.2.0)
230265
myslog (0.1.1)
231266
net-http (0.6.0)
@@ -263,6 +298,13 @@ GEM
263298
multi_json (>= 1.0)
264299
ostruct (0.6.1)
265300
prometheus-client (4.2.1)
301+
protocol-hpack (1.5.1)
302+
protocol-http (0.54.0)
303+
protocol-http1 (0.35.2)
304+
protocol-http (~> 0.22)
305+
protocol-http2 (0.23.0)
306+
protocol-hpack (~> 1.4)
307+
protocol-http (~> 0.47)
266308
public_suffix (5.0.3)
267309
racc (1.8.1)
268310
rack (3.0.16)
@@ -298,14 +340,15 @@ GEM
298340
faraday-follow_redirects
299341
syslog_protocol (0.9.2)
300342
timeout (0.4.3)
343+
traces (0.18.2)
301344
tzinfo (2.0.6)
302345
concurrent-ruby (~> 1.0)
303346
tzinfo-data (1.2025.2)
304347
tzinfo (>= 1.0.0)
305348
unf (0.1.4)
306349
unf_ext
307350
unf_ext (0.0.8.2)
308-
uri (1.0.3)
351+
uri (1.0.4)
309352
uuidtools (2.2.0)
310353
validate_email (0.1.6)
311354
activemodel (>= 3.0)
@@ -321,6 +364,7 @@ GEM
321364
addressable
322365
webrick (1.9.1)
323366
yajl-ruby (1.4.3)
367+
zstd-ruby (1.5.7.1)
324368

325369
PLATFORMS
326370
ruby
@@ -329,7 +373,7 @@ DEPENDENCIES
329373
fluent-plugin-aliyun-oss (= 0.0.1)
330374
fluent-plugin-cloudwatch-logs (= 0.15.0)
331375
fluent-plugin-datadog (= 0.14.4)
332-
fluent-plugin-elasticsearch (= 5.4.4)
376+
fluent-plugin-elasticsearch (= 6.0.0)
333377
fluent-plugin-gelf-best (= 1.4.1)
334378
fluent-plugin-grafana-loki (= 1.2.20)
335379
fluent-plugin-kafka (= 0.19.4)

0 commit comments

Comments
 (0)