各位朋友大家好:
安裝「metricbeat」版本「metricbeat-5.5.2-linux-x86_64」無法傳送訊息給 Logstash
使用「壓縮包」方法,修改「vi metricbeat.yml」設定檔
有朋友遇到此問題嗎?
安裝「metricbeat」版本「metricbeat-5.5.2-linux-x86_64」無法傳送訊息給 Logstash
使用「壓縮包」方法,修改「vi metricbeat.yml」設定檔
#================================ Outputs =====================================
# Configure what outputs to use when sending the data collected by the beat.
# Multiple outputs may be used.
#-------------------------- Elasticsearch output ------------------------------
output.elasticsearch:
# Array of hosts to connect to.
# hosts: ["192.168.1.249:9200"]
# Optional protocol and basic auth credentials.
#protocol: "https"
#username: "elastic"
#password: "changeme"
#----------------------------- Logstash output --------------------------------
#output.logstash:
# The Logstash hosts
hosts: ["192.168.1.249:5043"]
# 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"
出現如下錯誤2017/09/12 08:11:50.554176 single.go:140: ERR Connecting error publishing events (retrying): Get http://192.168.1.249:5043: read tcp 192.168.2.17:51342->192.168.1.249:5043: read: connection reset by peer
有朋友遇到此問題嗎?
2 个回复
cddisk2017 - 80後 IT 男
赞同来自: wy993322
wy993322 - 90
赞同来自: