kibana 8.2.3 install# DataBase/Elasticsearch2022. 6. 17. 13:56
Table of Contents
728x90
반응형
다운로드
https://www.elastic.co/kr/downloads/kibana
kibana 레포지토리 추가
[darksharavim.tistory.com]vi /etc/yum.repos.d/kibana.repo
# 아래내용 추가
[kibana-8.x]
name=Kibana repository for 8.x packages
baseurl=https://artifacts.elastic.co/packages/8.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
kibana 설치
[darksharavim.tistory.com]yum -y install kibana
Rocky Linux 8 - AppStream 2.7 MB/s | 8.4 MB 00:03
Rocky Linux 8 - BaseOS 1.3 MB/s | 2.6 MB 00:02
Rocky Linux 8 - Extras 12 kB/s | 11 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 1.7 MB/s | 11 MB 00:06
Extra Packages for Enterprise Linux Modular 8 - x86_64 9.4 kB/s | 1.0 MB 01:51
Kibana repository for 8.x packages 8.0 MB/s | 9.9 MB 00:01
Elastic repository for 8.x packages 9.7 MB/s | 9.9 MB 00:01
종속성이 해결되었습니다.
============================================================================================================================================================================================================================================
꾸러미 구조 버전 레포지터리 크기
============================================================================================================================================================================================================================================
설치 중:
kibana x86_64 8.2.3-1 kibana-8.x 248 M
연결 요약
============================================================================================================================================================================================================================================
설치 1 꾸러미
총계 내려받기 크기: 248 M
설치된 크기 : 603 M
꾸러미 내려받기 중:
kibana-8.2.3-x86_64.rpm 11 MB/s | 248 MB 00:23
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
합계 11 MB/s | 248 MB 00:23
연결 확인 실행 중
연결 확인에 성공했습니다.
연결 시험 실행 중
연결 시험에 성공했습니다.
연결 실행 중
준비 중 : 1/1
스크립트릿 실행 중: kibana-8.2.3-1.x86_64 1/1
설치 중 : kibana-8.2.3-1.x86_64 1/1
스크립트릿 실행 중: kibana-8.2.3-1.x86_64 1/1
Creating kibana group... OK
Creating kibana user... OK
Created Kibana keystore in /etc/kibana/kibana.keystore
[/usr/lib/tmpfiles.d/elasticsearch.conf:1] Line references path below legacy directory /var/run/, updating /var/run/elasticsearch → /run/elasticsearch; please update the tmpfiles.d/ drop-in file accordingly.
확인 중 : kibana-8.2.3-1.x86_64 1/1
설치되었습니다:
kibana-8.2.3-1.x86_64
완료되었습니다!
[darksharavim.tistory.com]
kibana설정
[darksharavim.tistory.com]cat kibana.yml | grep -v '#'
# kibana default port는 5601
server.port: 5601
# 모든IP에서 접근할려면 기존 localhost에서 0.0.0.0으로 변경하면됨.
server.host: "0.0.0.0"
# 엘라스틱호스트 설정
elasticsearch.hosts: ["http://localhost:9200"]
kibana 구동 및 확인
[darksharavim.tistory.com]systemctl start kibana
[darksharavim.tistory.com]systemctl status kibana
● kibana.service - Kibana
Loaded: loaded (/usr/lib/systemd/system/kibana.service; disabled; vendor preset: disabled)
Active: active (running) since Fri 2022-06-17 13:55:34 KST; 4s ago
Docs: https://www.elastic.co
Main PID: 9273 (node)
Tasks: 11 (limit: 100878)
Memory: 183.5M
CGroup: /system.slice/kibana.service
└─9273 /usr/share/kibana/bin/../node/bin/node /usr/share/kibana/bin/../src/cli/dist
6월 17 13:55:34 localhost.localdomain systemd[1]: Started Kibana.
[darksharavim.tistory.com]
kibana 웹접속
http://[KIBANA IP]:/5601
enrollment token입력
[darksharavim.tistory.com]/usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s kibana
eyJ2ZXIiOiI4LjIuMyIsImFkciI6WyIxOTIuMTY4LjMzLjEzMDo5MjAwIl0sImZnciI6IjcwZDlhYmUxNWE0ZjM2NTVjNjJlNjQ1Mjc5MDY2ZTllZjIxYzM1Njc2OWUwNjZjMmJkNjAwMzY2OTk4NGVlZjkiLCJrZXkiOiJwUUZZY0lFQlhIdUFJT3JzWjJOcTpHdDkzbmpEU1NpeW1lZWZFYTdyT19BIn0=
6자리 인증키 확인방법
[darksharavim.tistory.com]systemctl status kibana
● kibana.service - Kibana
Loaded: loaded (/usr/lib/systemd/system/kibana.service; disabled; vendor preset: disabled)
Active: active (running) since Fri 2022-06-17 15:26:45 KST; 4min 19s ago
Docs: https://www.elastic.co
Main PID: 28344 (node)
Tasks: 11 (limit: 100878)
Memory: 231.2M
CGroup: /system.slice/kibana.service
└─28344 /usr/share/kibana/bin/../node/bin/node /usr/share/kibana/bin/../src/cli/dist
6월 17 15:26:45 localhost.localdomain systemd[1]: Started Kibana.
6월 17 15:26:55 localhost.localdomain kibana[28344]: [2022-06-17T15:26:55.559+09:00][INFO ][plugins-service] Plugi>
6월 17 15:26:55 localhost.localdomain kibana[28344]: [2022-06-17T15:26:55.570+09:00][INFO ][plugins-service] Plugi>
6월 17 15:26:55 localhost.localdomain kibana[28344]: [2022-06-17T15:26:55.632+09:00][INFO ][http.server.Preboot] h>
6월 17 15:26:55 localhost.localdomain kibana[28344]: [2022-06-17T15:26:55.664+09:00][INFO ][plugins-system.preboot>
6월 17 15:26:55 localhost.localdomain kibana[28344]: [2022-06-17T15:26:55.665+09:00][INFO ][preboot] "interactiveS>
6월 17 15:26:55 localhost.localdomain kibana[28344]: [2022-06-17T15:26:55.691+09:00][INFO ][root] Holding setup un>
6월 17 15:26:55 localhost.localdomain kibana[28344]: i Kibana has not been configured.
6월 17 15:26:55 localhost.localdomain kibana[28344]: Go to http://0.0.0.0:5601/?code=888748 to get started.
6월 17 15:29:28 localhost.localdomain kibana[28344]: Your verification code is: 888 748
초기 슈퍼관리자(elastic)정보를 입력합니다.
728x90
반응형
'# DataBase > Elasticsearch' 카테고리의 다른 글
logstash grok 정규표현식 (0) | 2022.09.02 |
---|---|
[elasticsearch]heap out of memory(OOM) (0) | 2022.08.19 |
logstash 8.2.3 install (0) | 2022.06.17 |
[elasticsearch]bootstrap check failure (0) | 2022.06.16 |
elasticsearch 8.2.3 install (0) | 2022.06.16 |
@다크쉐라빔 :: 다크쉐라빔의 주절주절
안녕하세요. 이곳은 IT위주의 잡다한 정보를 올려두는 개인 블로그입니다.
포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!