2024/03 3

ELK(Elasticsearch + Logstash + Kibana + Filebeat)로그 모니터링 - 3

Kibana를 통한 확인 방법!! Index 설정 Stack Menagement 설정 선택 Kibana쪽 Data views 선택 및 Create data view 선택 name - index view 명칭 index pattern - 보여질 index명 기입 (위와같이 nginx-* 로할시 nginx- 로시작하는 모든 인덱스를 포함하게된다.) 오른쪽 네모박스 - 지정할수있는 index 리스트를 보여준다. 로그가 잘쌓이는지 확인단계 이제 인덱스를 그룹화해서 볼수있게 하였으니 확인하러가보자! 처음 화면으로 돌아와서 Dicover 선택 왼쪽 버튼을 통해 아까 만들었던 index view 명칭을 선택 오른쪽 버튼을 통해 시간 조절가능 1번 버튼을 통해 상세 설명을 확인할수 있다. 2번 버튼을 통해 해당 필드값..

AWS/EC2 2024.03.25

ELK(Elasticsearch + Logstash + Kibana + Filebeat)로그 모니터링 - 2

# Logstash + Filebeat 설치 Logstash 설치 https://www.elastic.co/guide/en/logstash/current/installing-logstash.html Installing Logstash | Logstash Reference [8.12] | Elastic Use the echo method described above to add the Logstash repository. Do not use add-apt-repository as it will add a deb-src entry as well, but we do not provide a source package. If you have added the deb-src entry, you will see a..

AWS/EC2 2024.03.25

ELK(Elasticsearch + Logstash + Kibana + Filebeat)로그 모니터링 - 1

# ELK란 ELK란 Elasticsearch + Logstash + Kibana 를 통한 모니터링을 뜻합니다. 보통 일반적으로 구조한다면 위와같은 구조로 진행하게 됩니다. 저는 아주 기본적으로 설치해보고 설정하는 작업을 진행해볼 예정입니다. 설치 진행은 elasticsearch - kibana - logstash - filebeat 순으로 진행할 예정입니다. 기본설치이므로 공식홈페이지를 참조해서 설치 진행하셔도 무방합니다. Elasticsearch rpm 설치 공홈 https://www.elastic.co/guide/en/elasticsearch/reference/current/install-elasticsearch.html Installing Elasticsearch | Elasticsearch G..

AWS/EC2 2024.03.22