【发布时间】:2018-09-13 22:47:47
【问题描述】:
我对 ELK 完全陌生,并尝试为我们的服务器安装一些节拍的堆栈。
Elasticsearch、Kibana 和 Logstash 都已安装(在服务器 A 上)。我在这里遵循了这个指南https://www.elastic.co/guide/en/elastic-stack/current/installing-elastic-stack.html。
Filebeat 模板也已安装。
我还在另一台服务器(服务器 B)上安装了 filebeat,并试图测试连接
$ /usr/share/filebeat/bin/filebeat test output -c
/etc/filebeat/filebeat.yml -path.home /usr/share/filebeat -
path.config /etc/filebeat -path.data /var/lib/filebeat -path.logs
/var/log/filebeat
logstash: my-own-domain:5044...
connection...
parse host... OK
dns lookup... OK
addresses: 163.172.167.147
dial up... OK
TLS...
security: server's certificate chain verification is enabled
handshake... OK
TLS version: TLSv1.2
dial up... OK
talk to server... OK
似乎一切正常,但来自服务器 B 上的 filebeat 的数据似乎并未将数据发送到 logstash。
访问 Kibana 不断将我重定向回创建索引模式,并显示消息
Couldn't find any Elasticsearch data
任何方向都将不胜感激。
【问题讨论】:
-
您能否将@NicolasY 的答案标记为已接受,因为这解决了您的问题?
标签: elasticsearch logstash kibana filebeat