DataDog Log Management를 사용하여 인프라 대시보드에서 관련 로그에 이르기까지
DataDog Log Management란?
무엇을 할 수 있는가?
쉽게 로그 관리가 가능하고 문제 해결이 편해지는 도구입니다.
인프라 메트릭 대시 보드에서 관련 로그로 이동할 수 있습니다.
기타 일반적인 용도로는
등 수 있습니다.
사용해보기
설정 내용
/etc/datadog-agent/datadog.yaml
logs_enabled: true
/etc/datadog-agent/conf.d/nginx.d/conf.yaml
logs:
# - type : (mandatory) type of log input source (tcp / udp / file)
# port / path : (mandatory) Set port if type is tcp or udp. Set path if type is file
# service : (mandatory) name of the service owning the log
# source : (mandatory) attribute that defines which integration is sending the logs
# sourcecategory : (optional) Multiple value attribute. Can be used to refine the source attribtue
# tags: (optional) add tags to each logs collected
- type: file
path: /var/log/nginx/access.log
service: nginx
source: nginx
sourcecategory: http_web_access
- type: file
path: /var/log/nginx/error.log
service: nginx
source: nginx
sourcecategory: http_web_access
datadog-agent stop
datadog-agent start
※ datadog의 version6.0 이후는 SysVinit가 지원되지 않기 때문에 AmazonLinux (ver1) 등 init.d를 사용하는 OS에서는 명령이 5 계에서 조금 바뀝니다.
출력 내용
상기에서 nginx용의 설정은 완료.
이것으로 인프라 대시 보드의 신경이 쓰이는 포인트로부터 대응하는 로그까지 한번 날아!!

2018.3.27 시점에서 대응하는 서비스



GCP와 Azure는 여전히 같다. 앞으로 점점 늘어날 것 같다.
수수료
( 10000 Events/min * 60 min * 24 hour * 30 day ) * 1.27 / per 100 Million Events = $548 / month
주의사항
감상
Reference
이 문제에 관하여(DataDog Log Management를 사용하여 인프라 대시보드에서 관련 로그에 이르기까지), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/e__koma/items/24130521a8865a0c1570텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)