1. FileBeat msi 다운 로드
https://www.elastic.co/kr/downloads/beats/filebeat
Download Filebeat • Lightweight Log Analysis | Elastic
Want to upgrade? We'll give you a hand. Migration Guide »
www.elastic.co
* Windows MSI 64-Bit 다운로드
(자신의 운영체제 비트에 맞춰 다운로드)
2. 다운 받은 filegeat-7.7.0-windows-x86_64.exe 파일 실행
3. 실행 후 설치 시작
I accept the terms in the License Agrement 체크 후 Install 인스톨 버튼 클릭
설치 완료, open filebeat data dirctory in windows Explorer 체크 후 finish 버튼 클릭
4.해당 폴더 오픈
- "filebeat.yml" 편집 시작
#=========================== Filebeat inputs =============================
filebeat.inputs:
- type: log
paths:
- D:/TestFile/*.log
#----------------------------- Logstash output --------------------------------
output.logstash:
# The Logstash hosts
hosts: ["localhost:5044"]
- paths 부분에 경로 여러개 넣으면 여러 경로에서 파일을 수집함
- 작업관리자 > 서비스 > filebeat 찾은다음 서비스 시작
* Filebeat 서비스로 설치 끝