Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
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
Tags
more
Archives
Today
Total
관리 메뉴

노우!쑤

[ElasticSearch]8.0 Metricbeat 본문

DevOps

[ElasticSearch]8.0 Metricbeat

no500 2022. 3. 11. 16:50

사전작업

  • kibana 세팅 후 계정 생성 후 계정 사용

SSL 세팅

  1. /etc/elasticsearch/certs/http_ca.crt를 pem 으로 변경
  2. 변경된 pem 파일을 metricbeat 실행 서버로 복사
  3. /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