我对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不断地将我重定向回Create Index pattern,并显示以下消息
Couldn't find any Elasticsearch data任何方向的指示都会非常感谢。
发布于 2018-04-04 20:37:00
您是否可以检查您的filebeat.yml文件,并查看是否激活了日志配置:
filebeat.prospectors:
- type: log
enabled: true
paths:
- /var/log/*.loghttps://stackoverflow.com/questions/49649894
复制相似问题