Open Distro Alert 기능을 사용해 장애 알람을 받아봅시다

 

1. elasticsearch에 open distro alert 설치

vi elasticsearch/Dockerfile
ARG ELASTIC_VERSION

FROM docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION}
RUN elasticsearch-plugin install -b https://github.com/opendistro-for-elasticsearch/alerting/releases/download/v1.13.1.0/alerting.zip

 

2. kibana에 open distro alert 설치

vi kibana/Dockerfile
ARG ELASTIC_VERSION

FROM docker.elastic.co/kibana/kibana:${ELASTIC_VERSION}
RUN kibana-plugin install https://github.com/opendistro-for-elasticsearch/alerting-kibana-plugin/releases/download/v1.13.0.0/opendistroAlertingKibana-1.13.0.0.zip

 

3. elk랑 open distro alert 버전 맞추기

vi .env
ELASTIC_VERSION=7.10.2

 

4. x-pack 설정 off

vi elasticsearch/config/elasticsearch.yml

false로 수정합니다!

xpack.security.enabled: false
xpack.monitoring.collection.enabled: false

 

5. 실행

docker-compose build && docker-compose up -d

'Web Programming > SPRINGBOOT' 카테고리의 다른 글

아키텍쳐  (0) 2023.08.18
[Kotlin] kapt(kotlin annotation processing tool)  (0) 2023.08.18
Spring Elk 연동  (0) 2022.11.17
ELK 설치  (0) 2022.11.16
mac에 docker 설치  (0) 2022.11.16

+ Recent posts