如何从在不同的计算机(EC2)上运行的多个FileBeat接收日志到一个LogStash实例?
我有2个在不同的计算机上运行的文件beat(ex:a& b),并且还配置了FileBeat来发送Logstash机器,但是LogStash即使我添加了这些机器的私有IP,也没有接收数据。
因此,我有2个logstash .conf文件,可以从2个不同的文件beat接收。
我的conf文件看起来像这样 - >
a.conf
输入{ 打{ 港口:”” 主持人:“私有IP-M1” } }
b.conf
输入{ 打{ 港口:”” 主持人:“私有IP-M2” } }
我运行logstash后无法连接。它说错误:无法分配请求的地址。
谁能告诉我还有其他方法吗?
i have 2 filebeats running on different machine(Ex: A & B) and filebeat is also configured to send logstash machine but logstash is not receiving the data even though I have added the private IP of those machines.
so i have 2 logstash .conf file to receive from 2 different filebeats.
My conf file looks like this ->
A.conf
input{
beat{
port:""
host:"private-ip-m1"
}
}
B.conf
input{
beat{
port:""
host:"private-ip-m2"
}
}
after I run logstash it is unable to connect. it says Error: Cannot assign requested address.
Can anyone tell me is there any other way to this ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论