노우!쑤
[ElasticSearch]8.0 Metricbeat 본문
사전작업
- kibana 세팅 후 계정 생성 후 계정 사용
SSL 세팅
- /etc/elasticsearch/certs/http_ca.crt를 pem 으로 변경
- 변경된 pem 파일을 metricbeat 실행 서버로 복사
- /etc/metricbeat/metricbeat.yml 파일 수정
# ================================== Outputs ===================================
# Configure what output to use when sending the data collected by the beat.
# ---------------------------- Elasticsearch Output ----------------------------
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["elasticsearch server"]
# Protocol - either `http` (default) or `https`.
protocol: "https"
# Authentication credentials - either API key or username/password.
#api_key: "id:api_key"
username: "[username]"
password: "[password]"
ssl.certificate_authorities: ["pem path"]
스펙
CPU 4core
Memory 4GB
* system module 기본적으로 enable 되어있음
* 다른 모유 사용 할 경우 yml 파일 위와 동일일하게 변경 필요
* 메모리 150MB 정도 사용 (10s)
'DevOps' 카테고리의 다른 글
[CentOS]인증서 등록 (0) | 2022.03.18 |
---|---|
[nGrinder]Http POST Call 스크립트 (Groovy) (0) | 2022.03.15 |
[ElasticSearch]8.0 키바나 설치 (0) | 2022.03.11 |
[ElasticSearch]8.0 (0) | 2022.03.11 |
[docker] 이미지 경로 변경 (0) | 2022.03.10 |