rpm 다운로드
엘라스틱 서치 다운로드
https://www.elastic.co/kr/downloads/elasticsearch
Download Elasticsearch
Download Elasticsearch or the complete Elastic Stack (formerly ELK stack) for free and start searching and analyzing in minutes with Elastic.
www.elastic.co
로그스태시 다운로드
https://www.elastic.co/kr/downloads/logstash
Download Logstash Free | Get Started Now
Download Logstash or the complete Elastic Stack (formerly ELK stack) for free and start collecting, searching, and analyzing your data with Elastic in minutes.
www.elastic.co
키바나 다운로드
https://www.elastic.co/kr/downloads/kibana
Download Kibana Free | Get Started Now
Download Kibana or the complete Elastic Stack (formerly ELK stack) for free and start visualizing, analyzing, and exploring your data with Elastic in minutes.
www.elastic.co
파일비트 다운로드
https://www.elastic.co/kr/downloads/beats/filebeat
Download Filebeat • Lightweight Log Analysis
Download Filebeat, the open source data shipper for log file data that sends logs to Logstash for enrichment and Elasticsearch for storage and analysis.
www.elastic.co
install elk
rpm -ivh [패키지 파일]
sudo systemctl enable elasticsearch
sudo systemctl restart elasticsearch
sudo service elasticsearch status
Elasticsearch 설정
외부 접근 가능
sudo vi /etc/elasticsearch/elasticsearch.yml 설정 변경
network.host: 0.0.0.0
discovery.seed_hosts: ["192.168.0.x"]
cluster.initial_master_nodes: ["192.168.0.x"] # 내 아이피
#로그인 기능 끄끼(마지막 추가)
xpack.security.enabled: false
Elasticsearch 재시작
sudo systemctl restart elasticsearch
Kibana 설정
/etc/kibana/kibana.yml 설정 변경
외부 접근 시
server.host: "0.0.0.0"
elasticsearch.hosts: ["http://[elasticsearch-ip]:9200"]
Kibana 재시작
sudo systemctl restart kibana
Logstash 설정
Filebeat 설정
sudo /usr/share/logstash/bin/logstash -f /usr/share/logstash/bin/first-pipeline.conf
/usr/share/filebeat/bin/filebeat -e -c /etc/filebeat/filebeat.yml
'DevOps > 모니터링' 카테고리의 다른 글
Kibana Query Language 정리 사이트 (0) | 2022.05.17 |
---|---|
filebeat multiline (0) | 2022.05.12 |
elasticsearch, kibana 8 버전 (0) | 2022.04.27 |
filebeat error 확인 (0) | 2022.04.27 |
Docker Elasticsearch Exited With Code 78 오류 해결방법 (0) | 2022.04.26 |