arterhuo

Results 9 comments of arterhuo

1.大哥,你可以这样写: env: - name: aliyun_logs_stg value: "/wls/applogs/test/.log" - name: aliyun_logs_stg1 value: "/wls/applogs/abc/aa/.log" 2. https://help.aliyun.com/document_detail/86552.html?spm=5176.11065259.1996646101.searchclickresult.6f1d82edTIUf0b k8s的话建议不要使用label了,使用环境变量,跟上面的写法一样,可以支持*

https://github.com/arterhuo/log-pilot/tree/master 我升级7.6.1测试可以使用,不过我是写的kafka不是直接写es。你参考下,应该可以支持7.x es

> 配置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) 大哥,我也是这么升级的,修改这些配置,为毛一直拿不到日志到kafka

> 配置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) https://github.com/arterhuo/log-pilot...

> > > 配置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** > >...

@danielqsj 我觉得你收集逻辑应该调整一下,同时收集consumer offset和topic offset,然后再进行计算lag延迟,如果lag < 0 也要将lag = 0 (证明此时已经消费完)。此逻辑我已经自己添加使用。

> sudo pacman -S ca-certificates-utils ca-certificates ca-certificates-mozilla i meet the same problem, it does not work for me