elasticsearch 设置麋鹿堆
我对ELK是一个全新的人,正在尝试为我们的服务器安装带有节拍的堆栈 Elasticsearch、Kibana和Logstash都已安装(在服务器A上)。我是按照这个指南来的 还安装了Filebeat模板 我还在另一台服务器(服务器B)上安装了filebeat,并尝试测试连接elasticsearch 设置麋鹿堆,elasticsearch,logstash,kibana,filebeat,elasticsearch,Logstash,Kibana,Filebeat,我对ELK是一个全新的人,正在尝试为我们的服务器安装带有节拍的堆栈 Elasticsearch、Kibana和Logstash都已安装(在服务器A上)。我是按照这个指南来的 还安装了Filebeat模板 我还在另一台服务器(服务器B)上安装了filebeat,并尝试测试连接 $ /usr/share/filebeat/bin/filebeat test output -c /etc/filebeat/filebeat.yml -path.home /usr/share/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
您可以查看您的
filebeat.yml
文件并查看日志配置是否已激活,如有任何指示,我们将不胜感激。您是否可以检查您的filebeat.yml
文件:
filebeat.prospectors:
- type: log
enabled: true
paths:
- /var/log/*.log
非常感谢@NicolasY,这很有效。为什么我没有注意到呢?哈哈,我在遵循指南,但它没有提到这一点:vI很乐意帮助你;)!你能不能把@NicolasY的答案标记为已接受,因为这解决了你的问题?