serverapps:fluentd
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| serverapps:fluentd [2019/11/06 05:58] – hayashi | serverapps:fluentd [2020/09/24 03:03] (現在) – hayashi | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| ====== Fluentd ====== | ====== Fluentd ====== | ||
| + | ===== インストールされているプラグイン一覧表示 ===== | ||
| + | |||
| + | / | ||
| + | |||
| ===== tagにホスト名を入れる ===== | ===== tagにホスト名を入れる ===== | ||
| - | e.g. | + | ==== e.g. ==== |
| < | < | ||
| 行 12: | 行 17: | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
| + | ==== その他 ==== | ||
| + | |||
| + | record_transformer filter pluginを使う | ||
| ===== Log受信に失敗する ===== | ===== Log受信に失敗する ===== | ||
| 行 25: | 行 34: | ||
| Fluentd v0.14からFluent v0.12にデータを転送する場合、forward出力プラグインの設定でtime_as_integer true指定します。 | 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:// | ||
serverapps/fluentd.1573019906.txt.gz · 最終更新: by hayashi
