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

请教大佬,如何修改 log-pilot 发送es的index格式呢,现在是 yyyy.MM.dd ,想要更改为 yyyy.MM 如何操作呀?

Open lei1402 opened this issue 4 years ago • 2 comments

请教大佬,如何修改 log-pilot 发送es的index格式呢,现在是 yyyy.MM.dd ,想要更改为 yyyy.MM 如何操作呀?

lei1402 avatar Mar 30 '21 08:03 lei1402

https://github.com/WilliamGuozi/log-pilot-filebeat/blob/master/config.filebeat 可以修改 67 行 index: "${ELASTICSEARCH_INDEX:-filebeat}-%{+YYYY.MM.dd}" 重新制作镜像

WilliamGuozi avatar Jul 02 '21 06:07 WilliamGuozi

我去掉了-%{+YYYY.MM.dd},直接采集不到es了

CherisXPG avatar Oct 12 '23 06:10 CherisXPG