bogeit

Results 9 comments of bogeit

有没有可能是日志收集数量多的缘故,例如只保留一个stdout和容器内的数据日志,再观察看看。 追加: 我业务中也遇到过这样的现象,由于某个服务的日志量很大,出现日志采集不全的情况,现在解决了,解决大致步骤如下: 1、为这个业务量大的服务单独准备一套log-pilot,只收集这个服务的日志 2、优化log-pilot的 filebeat.tpl日志,我优化后的配置模板,可供对比参考 ``` {{range .configList}} - type: log enabled: true paths: - {{ .HostDir }}/{{ .File }} scan_frequency: 5s fields_under_root: true {{if .Stdout}} docker-json: true {{end}}...

> https://github.com/arterhuo/log-pilot/tree/master 我升级7.6.1测试可以使用,不过我是写的kafka不是直接写es。你参考下,应该可以支持7.x es @huoarter 你这个版本不知道试过收集stdout的日志没有,我用的7.10,stdout和文件写es7.10都没问题,就是写到kafka的时候,stdout没效果,容器内的文件是可以的。

> https://github.com/hebaodanroot/log-pilot.git > 这个支持ES7 你好,你这个怎么支持的,麻烦详细描述一下,我看了下你的代码仓库,没发现哪里有什么变化。@hebaodanroot

不知道在多个logstash主机IP的情况下该怎么填,现在看文档示例以都是只存在一个logstash IP的情况。

> 配置filebeat7.6.1,修改如下配置文件重新打包就可以了,已测试运行 > **assets/filebeat/config.filebeat** > 主要是filebeat.yml新版本配置项变化 > ![图片](https://user-images.githubusercontent.com/33741400/76923834-83824500-690f-11ea-96e8-295fe35c6462.png) > 增加logstash集群配置 > ![图片](https://user-images.githubusercontent.com/33741400/76923844-8bda8000-690f-11ea-86a0-e66dcc737db9.png) > **assets/filebeat/filebeat.tpl** > 删除 > {{if .Stdout}} > docker-json: true > {{end}} > 新版本没有docker-json,有单独的docker/containers type > [详细查看官网](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-log.html) @huoarter...

@komuw Hi, After I created crd according to the configuration you sent, I created a redis cluster and reported an error: error: error validating "/tmp/redis-cluster/redis-cluster.yaml": error validating data: [ValidationError(DistributedRedisCluster.spec): unknown...

@komuw Thank you very much, I succeeded according to your new yaml configuration, but under the premise of removing the monitor field, the error report of adding monitor is as...

> https://hub.docker.com/r/williamguozi/log-pilot-filebeat ,可以用这个试试 @lvelvis 厉害了,这个实测可以支持containerd runtime,有一点要注意,因为换了容器运行时,在要收集stdout日志时,需要把filebeat配置模板 filebeat.tpl里面这几行去掉,才会正常收集服务stdout输出的日志: {{if .Stdout}} docker-json: true {{end}}

> Hi all, > > 我这边有尝试添加对 containerd 的支持,见 [fork repo PR](https://github.com/Colstuwjx/log-pilot/pull/2),目前初步测试是能跑通逻辑的! 你好,我把你修改的源码编译打包成功了镜像,请问使用时怎么修改runtime为Containerd呢?