3
3

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.

fluentdを導入する

Posted at

fluentdを導入する

  • Fluentd is an open source data collector for unified logging layer.
  • Fluentd allows you to unify data collection and consumption for a better use and understanding of data.
種類 場所
fluentd本体 /etc/init.d/td-agent
fluentd起動 /etc/init.d/td-agent start
fluentd停止 /etc/init.d/td-agent stop
fluentd設定ファイル /etc/td-agent/td-agnet.conf
fluentdログファイル /var/log/td-agent/

1 ダウンロードおよびインストール

1.1 yumにtreasuredataレポジトリを追加します。

# add GPG key
rpm --import http://packages.treasuredata.com/GPG-KEY-td-agent
# add treasure data repository to yum
  cat >/etc/yum.repos.d/td.repo <<'EOF';
[treasuredata]
name=TreasureData
baseurl=http://packages.treasuredata.com/redhat/\$basearch
gpgcheck=1
gpgkey=http://packages.treasuredata.com/GPG-KEY-td-agent
EOF
# update sources
yum check-update
# install the toolbelt
yes | yum install -y td-agent
3
3
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
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?