1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

fluent-plugin-rewriteが最新のfluentdを呼んでくるのでバージョン固定した

Last updated at Posted at 2016-11-21

備忘録です。

fluent-plugin-rewriteが0.0.14を入れると芋づるで最新のfluentd本体0.14.8が入ってしまい、
最新のfluentdの0.14はまだtd-agentのpackageもマニュアルも正式版であるような話もエラー遭遇時点(2016/11)でみかけないが
依存関係のエラーで起動しなくなったりtd-client新しいの入れてもwarnがログに出てたりしていたということで固定しました。

chef的には以下のようにバージョン固定

gem_package "fluent-plugin-rewrite" do
  gem_binary "/opt/td-agent/embedded/bin/fluent-gem" 
  version "0.0.13" 
  options "--no-rdoc --no-ri" 
end

コマンドだと以下のようなかんじ

td-agent-gem install -v 0.0.13
か
/opt/td-agent/embedded/bin/fluent-gem install -v 0.0.13

※chefリポジトリなおしてイメージビルド側修正してなかったりすると二重に入ったりで要注意

以上。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?