我按照此处提到的所有步骤阅读了文档,但我的文件信号未将日志发送到url http://localhost:9200/_search?pretty。
我的filebeat.yml文件是-https://ghostbin.com/paste/rrjeh
我没有配置任何提到的logstash文件。
我的注册表文件在filebeat启动后正在填充,并且filebeat日志(syslog)没有显示关于filebeat的错误
最佳答案
在/etc/filebeat/filebeat.yml
的底部,您应该看到“日志记录”部分。您将需要取消注释并为您填写适当的字段。也许一些日志记录输出将有助于提出您的问题。
logging:
to_files: true
files:
path: /var/log/filebeat
name: filebeat.log
rotateeverybytes: 10485760 # = 10MB
keepfiles: 7
level: debug
关于docker - Filebeat没有转发日志,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37565432/