aliyun/aliyun-log-jaeger

阿里云日志设置永久保存, jaeget 上报到阿里云的日志两天后消失

Opened this issue · 3 comments

您好
1、正常使用 阿里云日志客户端上报的日志,是永久保存,并不会消失
2、jaeger上报的日志,两天左右就失效了,查看文档并没有日志有效期的配置信息, 请问这个是Collector 固定了吗有效期吗? 还是哪边可以配置呢

我这边也有这个问题, 感觉是在查询的时候,只会查两天以内的日志

我这边也有这个问题, 感觉是在查询的时候,只会查两天以内的日志

好像也不是, 库里面看不到日志了

ipcpu commented

jaeger by default queries data no older than 72h. This can be changed by the following flag:

ES插件参数是:
--es.max-span-age duration The maximum lookback for spans in ElasticSearch (default 72h0m0s)

阿里云SLS插件的设置参数是:

--aliyun-log.max-query-duration duration The maximum query duration for logstore in AliCloud Log Service (default 24h0m0s)