docker - Filebeat没有转发日志

标签 docker logstash kibana filebeat

我按照此处提到的所有步骤阅读了文档,但我的文件信号未将日志发送到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/

相关文章:

windows - 在 Windows 上设置 Docker 化的命令行应用程序

docker - 让docker在tahoe-lafs存储节点的守护程序模式下工作?

git - .dockerignore 所有子文件夹但不包括文件夹本身中的文件

elasticsearch - 如何在ELK堆栈中使用Elasticsearch查询获取数组的长度?

elasticsearch - 使用 Logstash 将 json 字符串注入(inject)不同的 Elasticsearch 索引

java - 如何在 Elasticsearch 中使用术语查询嵌套的json对象/字段?

linux - 在基于 Debian 的 Docker 镜像中安装 NVM 时发生错误替换错误

elasticsearch - 使用 Filebeat 和 Logstash 推送日志文件到 Elasticsearch 的区别

elasticsearch - 如何从同一filebeat到logstash的不同日志具有不同的索引名称

logging - Graylog2 和 Kibana 的主要区别是什么