【发布时间】:2016-01-18 14:42:00
【问题描述】:
我正在尝试将日志从 filebeats(在 Windows 机器中)发送到 logstash(在 vmware ubuntu 机器中) 但我收到了这个错误:
Connecting error publishing events (retrying): dial tcp 192.168.220.130:5044: connectex: No connection could be made because the target machine actively refused it.
配置是: Windows 机器中的 filebeat.yml:
output:
logstash:
hosts: ["192.168.220.130:5044"]
index : filebeat
console:
pretty: true
worker: 1
vmware ubuntu 机器中的logstash.config:
input {
lumberjack {
port => 5044
type => beats
ssl_certificate => "/etc/ssl/logstash.pub"
ssl_key => "/etc/ssl/logstash.key"
}
}
或
input {
beats {
type => beats
port => 5044
}
}
任何提示? 我正在使用 Bridge 网络 我在 vmware ubuntu 机器内部尝试了相同的配置,它工作正常。
【问题讨论】:
标签: ubuntu virtual-machine logstash elastic-stack