-
telegraf 시작하기인프라/모니터링 2022. 1. 4. 17:54
Telegraf 설정
Telegraf는 agent application으로서 burrow의 rest api데이터를 일정주기로 ES에 전달하는 역할을 합니다.
설치
centos 다운
# influxdb.key GPG Fingerprint: 05CE15085FC09D18E99EFB22684A14CF2582E0C5 cat <https://repos.influxdata.com/stable/\$basearch/main enabled = 1 gpgcheck = 1 gpgkey = https://repos.influxdata.com/influxdb.key EOF
sudo yum install telegraf
위 두 명령어 입력하면 다운된다. os 별 다운로드는 하기 링크에 있다.
https://portal.influxdata.com/downloads/시작하기
systemctl start telegraf <-- 시작하기
sudo systemctl status telegraf <-- 확인하기설정확인 후 재시작
systemctl restart telegraf
telegraf.conf
[[inputs.burrow]] servers = ["http://버로우:8000"] topics_exclude = [ "__consumer_offsets" ] groups_exclude = ["console-*"] [[outputs.elasticsearch]] urls = [ "http://엘라스틱서치:9200" ] timeout = "5s" enable_sniffer = false health_check_interval = "10s" index_name = "burrow-%Y.%m.%d" manage_template = false
https://runebook.dev/ko/docs/influxdata/telegraf/v1.3/introduction/getting_started/index
반응형'인프라 > 모니터링' 카테고리의 다른 글
spring cloud resilience4j 모니터링 (0) 2022.11.03 [ELK] logstash 설치 및 실행하기 (0) 2022.07.13 Burrow 시작하기 (0) 2021.12.30 ZIPKIN 시작하기 (0) 2021.11.25 프로메테우스 Prometheus 시작하기(docker) (0) 2021.11.04