티스토리 뷰
Server GPG key
$ wget -qO - https://packages.fluentbit.io/fluentbit.key | sudo apt-key add - |
Update your sources lists
# /etc/apt/sources.list deb https://packages.fluentbit.io/ubuntu/bionic bionic main |
install ca-certificates
$ sudo apt-get install ca-certificates |
update your repositories database
$ sudo apt-get update |
Install TD-Agent Bit
$ sudo apt-get install td-agent-bit |
systemd를 이용하여 service 실행
$ sudo service td-agent-bit start |
systemd를 이용하여 service 상태 체크
$ sudo service td-agent-bit status ● td-agent-bit.service - TD Agent Bit Loaded: loaded (/lib/systemd/system/td-agent-bit.service; disabled; vendor preset: enabled) Active: active (running) since Wed 2021-10-06 18:35:10 KST; 16s ago Main PID: 16826 (td-agent-bit) Tasks: 3 (limit: 4915) CGroup: /system.slice/td-agent-bit.service └─16826 /opt/td-agent-bit/bin/td-agent-bit -c /etc/td-agent-bit/td-agent-bit.conf Oct 06 18:35:20 test18 td-agent-bit[16826]: [0] cpu.local: [1633512915.327543177, {"cpu_p"=>8.312500, "user_p"=>5.000000, "system_p"=>3.312500, "cpu0.p_cpu"=>1.000000, "cpu0.p_user"=>0.000000, "cpu0.p_system" Oct 06 18:35:20 test18 td-agent-bit[16826]: [1] cpu.local: [1633512916.327292631, {"cpu_p"=>9.312500, "user_p"=>5.562500, "system_p"=>3.750000, "cpu0.p_cpu"=>0.000000, "cpu0.p_user"=>0.000000, "cpu0.p_system" Oct 06 18:35:20 test18 td-agent-bit[16826]: [2] cpu.local: [1633512917.327293135, {"cpu_p"=>9.312500, "user_p"=>5.750000, "system_p"=>3.562500, "cpu0.p_cpu"=>2.000000, "cpu0.p_user"=>1.000000, "cpu0.p_system" Oct 06 18:35:20 test18 td-agent-bit[16826]: [3] cpu.local: [1633512918.327449317, {"cpu_p"=>9.937500, "user_p"=>5.687500, "system_p"=>4.250000, "cpu0.p_cpu"=>2.000000, "cpu0.p_user"=>1.000000, "cpu0.p_system" Oct 06 18:35:20 test18 td-agent-bit[16826]: [4] cpu.local: [1633512919.327281779, {"cpu_p"=>8.437500, "user_p"=>4.750000, "system_p"=>3.687500, "cpu0.p_cpu"=>1.000000, "cpu0.p_user"=>0.000000, "cpu0.p_system" Oct 06 18:35:25 test18 td-agent-bit[16826]: [0] cpu.local: [1633512920.327543373, {"cpu_p"=>8.250000, "user_p"=>4.062500, "system_p"=>4.187500, "cpu0.p_cpu"=>0.000000, "cpu0.p_user"=>0.000000, "cpu0.p_system" Oct 06 18:35:25 test18 td-agent-bit[16826]: [1] cpu.local: [1633512921.327289911, {"cpu_p"=>7.937500, "user_p"=>4.937500, "system_p"=>3.000000, "cpu0.p_cpu"=>1.000000, "cpu0.p_user"=>0.000000, "cpu0.p_system" Oct 06 18:35:25 test18 td-agent-bit[16826]: [2] cpu.local: [1633512922.327349438, {"cpu_p"=>9.437500, "user_p"=>5.562500, "system_p"=>3.875000, "cpu0.p_cpu"=>1.000000, "cpu0.p_user"=>1.000000, "cpu0.p_system" Oct 06 18:35:25 test18 td-agent-bit[16826]: [3] cpu.local: [1633512923.327344381, {"cpu_p"=>9.687500, "user_p"=>5.812500, "system_p"=>3.875000, "cpu0.p_cpu"=>0.000000, "cpu0.p_user"=>0.000000, "cpu0.p_system" Oct 06 18:35:25 test18 td-agent-bit[16826]: [4] cpu.local: [1633512924.327303874, {"cpu_p"=>7.375000, "user_p"=>4.187500, "system_p"=>3.187500, "cpu0.p_cpu"=>2.000000, "cpu0.p_user"=>1.000000, "cpu0.p_system" |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 시나가와
- filter-plugin
- logstash
- c3p0
- 이클립스
- Git
- 리더쉽 코칭
- Fair-Trade Coffee
- elasticsearch
- 일본여행
- elasitcsearch
- LG트윈스
- 요미우리 자이언츠
- DBCP
- 일정관리
- 간부
- 바리스타
- 스팸메일방지 CEAS
- 구로사와아키라
- 라면집
- 산모퉁이
- 자하손만두
- datasource
- centOS
- 스프링
- 간부사원
- 요미우리자이언츠
- 청계천
- connection pool
- 커넥션
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함