#-------------------------- Elasticsearch output ------------------------------ 
#output.elasticsearch: 
  # Array of hosts to connect to. 
  #hosts: ["localhost:9200"] 
 

# Optional protocol and basic auth credentials. 
  #protocol: "https" 
  #username: "elastic" 
  #password: "changeme" 
 

#----------------------------- Logstash output -------------------------------- 
output.logstash: 
  # The Logstash hosts 
  hosts: ["localhost:5044"] 
 

# Optional SSL. By default is off. 
  # List of root certificates for HTTPS server verifications 
  #ssl.certificate_authorities: ["/etc/pki/root/ca.pem"] 
 

# Certificate for SSL client authentication 
  #ssl.certificate: "/etc/pki/client/cert.pem" 
 

# Client Certificate Key 
  #ssl.key: "/etc/pki/client/cert.key" 
 

  • 읽어들일 파일이 있는 위치를 지정한다. 

paths: 
    - /home/yongho/test/*.log 
 

  • 실행 

$ ./filebeat -e -c filebeat.yml 


'오락기 > ELK' 카테고리의 다른 글

은전한닢 한글 형태소 분석기 적용  (0) 2018.05.21
Logstash multilLine java stackTrace  (0) 2018.05.11
logstash 아파치 엑세스 로그 필터  (0) 2018.05.11
logstash grok  (0) 2018.05.11
logstash data input  (0) 2018.05.11

+ Recent posts