Skip to content

Commit

Permalink
Fix graylog connecting issue
Browse files Browse the repository at this point in the history
Closes: fluent#1479

Feedback from @mszyzdek
ref. fluent#1479 (comment)

* graylog flavour of fluentd-kubernetes-daemonset uses gelf 3.0.0 and
  this version of gelf gem has Fixnum in code,
  graylog-labs/gelf-rb@7cc3cbb
* in ruby 3.2 Fixnum was removed after previous deprecation in version 2.4
  https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
* ruby in newest fluentd was upgraded to 3.2
  fluent/fluentd-docker-image@4f1d5e8
  so it also happened in fluentd-kubernetes-daemonset
* gelf 3.0.0 cannot work with ruby 3.2+ so we can see sad error on container start

Signed-off-by: Kentaro Hayashi <[email protected]>
  • Loading branch information
kenhys committed Jul 11, 2024
1 parent afa4c3f commit 9fb7781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/Gemfile.erb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ gem "fluent-plugin-s3", "~> 1.7.0"
<% when "gcs" %>
gem "fluent-plugin-gcs", "0.4.2"
<% when "graylog" %>
gem "gelf", "3.0.0"
gem "gelf", "3.1.0"
gem "fluent-plugin-gelf-hs", "~> 1.0.7"
<% when "logzio" %>
gem "fluent-plugin-logzio", "~> 0.2.2"
Expand Down

0 comments on commit 9fb7781

Please sign in to comment.