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

如何收集管理多行日志? #195

Open
cnych opened this issue Apr 18, 2021 · 1 comment
Open

如何收集管理多行日志? #195

cnych opened this issue Apr 18, 2021 · 1 comment

Comments

@cnych
Copy link
Owner

cnych commented Apr 18, 2021

https://www.qikqiak.com/post/collect-multiline-logs/?utm_source=webpushr&utm_medium=push&utm_campaign=collect-multiline-logs34WUQcqcrq

多行日志(例如异常信息)为调试应用问题提供了许多非常有价值的信息,在分布式微服务流行的今天基本上都会统一将日志进行收集,比如常见的 ELK、EFK 等方案,但是这些方案如果没有适当的配置,它们是不会将多行日志看成一个整体的,而是每一行都看成独立的一行日志进行处理,这对我们来说是难以接受的。

在本文中,我们将介绍一些常用日志收集工具处理多行日志的策略。

@DeyunLuo
Copy link

fluent-bit可以解析docker log-driver为json的多行日志吗

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

No branches or pull requests

2 participants