🐷

Ubuntu20.04にFluendをインストールしてみる

2022/05/16に公開約1,300字

Fluendのインストール実行

$ curl -L https://toolbelt.treasuredata.com/sh/install-ubuntu-bionic-td-agent3.sh | sh

インストールログに下記文言が出ていればインストールOK

Installation completed. Happy Logging!

起動

起動
$ sudo service td-agent start
```:確認

$ sudo service td-agent status
● td-agent.service - td-agent: Fluentd based data collector for Treasure Data
Loaded: loaded (/lib/systemd/system/td-agent.service; disabled; vendor preset: enabled)
Active: active (running) since Mon 2022-05-16 05:16:41 UTC; 21s ago
Docs: https://docs.treasuredata.com/articles/td-agent
Process: 3870 ExecStart=/opt/td-agent/embedded/bin/fluentd --log $TD_AGENT_LOG_FILE --daemon /var/run/td-agent/td>
Main PID: 3880 (fluentd)
Tasks: 11 (limit: 19152)
Memory: 59.2M
CGroup: /system.slice/td-agent.service
tq3880 /opt/td-agent/embedded/bin/ruby /opt/td-agent/embedded/bin/fluentd --log /var/log/td-agent/td-age>
mq3885 /opt/td-agent/embedded/bin/ruby -Eascii-8bit:ascii-8bit /opt/td-agent/embedded/bin/fluentd --log >

May 16 05:16:41 apache-fluentd systemd[1]: Starting td-agent: Fluentd based data collector for Treasure Data...
May 16 05:16:41 apache-fluentd systemd[1]: Started td-agent: Fluentd based data collector for Treasure Data.

# バージョン確認

$ td-agent --version
td-agent 1.11.5

Discussion

ログインするとコメントできます