반응형
1.대상서버
2.OS환경
Ubuntu 20.04.3 LTS (Ubuntu Focal)
3.Fluentd 셋팅 가이드
3-1. Install url
https://docs.fluentd.org/installation/install-by-deb – 설치가이드
curl -fsSL https://toolbelt.treasuredata.com/sh/install-ubuntu-focal-td-agent4.sh | sh
3-2. Version
td-agent v4 (Ubuntu Focal는 td-agent 4버전만 지원)
3-3. Run td-agent as Ubuntu
서비스 재시작은 아래 두가지 타입으로 가능합니다.
sudo systemctl start td-agent.service
sudo systemctl status td-agent.service
sudo systemctl stoptd-agent.service
sudo service td-agent stop
sudo service td-agent status
sudo service td-agent start
3-4 conf 위치
/etc/td-agent/td-agent.conf
4. 설치 후 정상동작 확인
curl -X POST -d 'json={"json":"message"}' http://localhost:8888/debug.test
반응형
'LOG > Fluentd' 카테고리의 다른 글
Fluentd 예제(log파일을 읽어들여 POST API로 전송) (0) | 2021.12.24 |
---|---|
Fluentd(td-agent) Windows 설치 가이드 (0) | 2021.12.24 |
Fluentd 시작하기 (0) | 2021.12.24 |