Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
leiguangyan opened this issue Mar 30, 2021 · 2 comments

Comments

@leiguangyan
Copy link

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

@WilliamGuozi
Copy link

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

@CherisXPG
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants