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

fluentd 延迟 #159

Closed
hunshenshi opened this issue Dec 5, 2018 · 4 comments
Closed

fluentd 延迟 #159

hunshenshi opened this issue Dec 5, 2018 · 4 comments

Comments

@hunshenshi
Copy link

使用fluentd利用time来切分日志,发现日志有延迟,有些日志在buffer中,归档有点延迟,大家有遇到过吗? 调了些参数,但感觉还是会延迟

@chenquanzhao
Copy link
Member

@hunshenshi 尝试配置FLUENTD_FLUSH_MODE为immediate,fluentd配置参考https://docs.fluentd.org/v1.0/articles/buffer-section

@hunshenshi
Copy link
Author

hunshenshi commented Dec 8, 2018

@chenquanzhao 我需要使用time的特性,所以不能用immediate,你们用的是filebeat?没有使用fluentd?还有就是我打算让log-pilot支持flume,你们有这个计划不?

fluentd的配置文档我也看了好几遍了,感觉还是有点达不到预期,也可能我还是没有把fluentd研究透彻,所以认为fluentd想用好还是要有些额外的学习成本,所以就想用flume,个人感觉flume性能要好些,而且也利于定制化

@chenquanzhao
Copy link
Member

@hunshenshi 我们依据不同场景会用不同的plugin;暂未计划支持flume,主要考虑到flume太重了

@hunshenshi
Copy link
Author

hunshenshi commented Dec 29, 2018

我开发了个flume plugin,个人感觉flume要好用很多,也比较灵活 @chenquanzhao
#167

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

2 participants