log-pilot icon indicating copy to clipboard operation
log-pilot copied to clipboard

现在不支持es7.x

Open major-jay opened this issue 5 years ago • 6 comments

2019-08-20T08:10:28Z INFO Connected to Elasticsearch version 7.2.0 2019-08-20T08:10:28Z INFO Loading template for Elasticsearch version: 7.2.0 2019-08-20T08:10:36Z ERR Failed to connect: Connection marked as failed because the onConnect callback failed: Error loading Elasticsearch template: could not load template: couldn't load template: couldn't load json. Error: 400 Bad Request: {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters: [doc : {_meta={version=6.1.1}, dynamic_templates=[{fields={path_match=fields., mapping={type=keyword}, match_mapping_type=string}}, {docker.container.labels={path_match=docker.container.labels., mapping={type=keyword}, match_mapping_type=string}},

major-jay avatar Aug 20 '19 08:08 major-jay

可以先传递给logstash后 再发送到es吗

major-jay avatar Aug 20 '19 10:08 major-jay

建议自己升级下filebeat,目前的版本比较老,不支持的。 或者发送到kafka之类的消息流服务,logstash消费之后发给es

wangycc avatar Aug 28 '19 06:08 wangycc

https://github.com/chenjiandongx/conveyor 可以尝试新工具

chenjiandongx avatar Dec 06 '19 03:12 chenjiandongx

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

huoarter avatar Mar 24 '20 12:03 huoarter

我也遇到同样的问题了

xxy123456 avatar Sep 09 '20 08:09 xxy123456

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没效果,容器内的文件是可以的。

bogeit avatar Dec 01 '20 13:12 bogeit