このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン | ||
serverapps:fluentd [2017/04/26 12:15] hayashi 作成 |
serverapps:fluentd [2020/09/24 12:03] (現在) hayashi |
||
---|---|---|---|
行 1: | 行 1: | ||
====== Fluentd ====== | ====== Fluentd ====== | ||
+ | ===== インストールされているプラグイン一覧表示 ===== | ||
- | ===== 見出し | + | / |
+ | |||
+ | ===== tagにホスト名を入れる ===== | ||
+ | ==== e.g. ==== | ||
+ | |||
+ | |||
+ | < | ||
+ | < | ||
+ | @type tail | ||
+ | path / | ||
+ | tag " | ||
+ | pos_file / | ||
+ | format syslog | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ==== その他 ==== | ||
+ | |||
+ | record_transformer filter pluginを使う | ||
+ | ===== Log受信に失敗する | ||
error_class=MessagePack:: | error_class=MessagePack:: | ||
行 7: | 行 27: | ||
”Specify time_as_integer true in your configuration of out_forward in v0.14. | ”Specify time_as_integer true in your configuration of out_forward in v0.14. | ||
See " | See " | ||
+ | |||
+ | 要約:適当 | ||
+ | |||
+ | v0.12までは秒単位であったLogの時間分解能がv0.14からnano秒となりました。\\ | ||
+ | このため、Fluentd v0.14から転送されたナノ秒の分解能を含むバイナリデータの受信にFluentd v0.12は失敗します。\\ | ||
+ | Fluentd v0.14からFluent v0.12にデータを転送する場合、forward出力プラグインの設定でtime_as_integer true指定します。 | ||
+ | |||
+ | |||
+ | ===== gem install pg が失敗する ===== | ||
+ | 以下の手順で行けた(2019.11.08 @CentOS7) | ||
+ | |||
+ | - yum install postgresql96-lib | ||
+ | - yum install postgresql96 | ||
+ | - yum install postgresql96-devel | ||
+ | - yum install gcc | ||
+ | - export PATH=/ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== 参考 ===== | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// |