ES 운영에 필수적인 kibana를 설치해 보자
하기 링크에 가면 정말 친절하게 설명되어 있다 (한글)
https://www.elastic.co/guide/kr/kibana/current/install.html
Kibana 설치 | Kibana 사용자 가이드 [5.4] | Elastic
Kibana는 다음 패키지 형태로 제공됩니다. tar.gz/zip tar.gz 패키지는 Linux 및 Darwin에 설치할 수 있도록 제공되며 가장 손쉽게 Kibana를 시작할 수 있는 방법입니다. Windows에서는 zip 패키지만 지원됩니다
www.elastic.co
1. kibana 설치 리눅스(ununtu) 설치
https://www.elastic.co/guide/kr/kibana/current/targz.html
`.tar.gz`로 Kibana 설치 | Kibana 사용자 가이드 [5.4] | Elastic
`.tar.gz`로 Kibana 설치edit Kibana는 Linux 또는 Darwin을 위해 .tar.gz 패키지의 형태로 제공됩니다. 이 패키지는 Kibana를 시험 사용할 때 가장 손쉽게 사용할 수 있는 형식입니다. Kibana의 최신 안정 버전은
www.elastic.co
2. kibana 설정
상기 링크데로 하고 config/kibana.yml 설정만 입맛에 맞게 변경한다.
server.port: 5601
server.host: "0.0.0.0"
elasticsearch.hosts: ["http://localhost:9200"]
logging.dest: /appl/kibana/log/kibana_engine_7.15.2.log
3. kibana 실행
실행 방법도 나와 있긴한대 nohup으로 실행 시켰다.
#!/bin/bash
nohup ./bin/kibana --allow-root -c ./config/kibana.yml >/home/ubuntu/utils/kibana-7.15.2-linux-x86_64/setup.log 2>&1 &
4. kibana 실행 확인
ubuntu@:~/utils/kibana-7.15.2-linux-x86_64$ ps -ef |grep kibana
root 25073 1 5 06:22 pts/0 00:00:19 ./bin/../node/bin/node ./bin/../src/cli/dist --allow-root -c ./config/kibana.yml
ubuntu 25189 2258 0 06:27 pts/0 00:00:00 grep --color=auto kibana
5. EC2 보안그룹 설정
사용자지정TCP > port: 5601 > 소스: 0.0.0.0/0 추가
6. 키바나 접속
퍼블릭 IPv4 주소:5601 로 접속하면 하기와 같은 웰컴 페이지가 나온다.
'programmer > Elasticsearch' 카테고리의 다른 글
Nested Object 타입의 데이터 java api 활용기 (0) | 2021.12.10 |
---|---|
update nested field in an index of elasticsearch with java api (0) | 2021.12.06 |
3. [Elasticsearch] ES 설치하기 (0) | 2021.12.03 |
2. [Elasticsearch] Ubuntu EC2 접속 하기 (0) | 2021.12.03 |
1. [Elasticsearch] AWS EC2 생성하기 (0) | 2021.12.03 |