分布式(集中式)日志解决方案

日志收集方案调研

目录

日志收集方案调研

rocketmq客户端接入

Flume

ELK

腾讯

网易

Zlogfabric

谷歌云日志平台

亚马逊集中式日志

Fluent bit源码

facebook集中式日志管理

EFK

Agent模式 vs API模式 vs SDK模式


 

rocketmq客户端接入

缺点是使用rocketmq客户端,是java客户端,多语言接入不好。开发者使用不方便。

 

Flume

官网http://flume.apache.org/

Agent component diagram

 

 

ELK

https://www.elastic.co/cn/what-is/elk-stack

logstash占用资源高 

https://my.oschina.net/itblog/blog/547250

beats收集日志占用资源低

https://www.linuxidc.com/Linux/2017-09/147091.htm

腾讯

腾讯数据平台

https://wiki.open.qq.com/wiki/SDK%E4%B8%8B%E8%BD%BD

腾讯云日志接入

https://cloud.tencent.com/solution/cloudlog

后台

客户端

网络流日志

https://cloud.tencent.com/document/product/682/18931

日志采集方式 之 API采集 

https://cloud.tencent.com/document/product/614/16873

POST /structuredlog?topic_id=xxxxxxxx-xxxx-xxxx-xxxx HTTP/1.1

Host: <Region>.cls.tencentyun.com

Authorization: <AuthorizationString>

Content-Type: application/x-protobuf

 

<LogGroupList 的 PB 格式打包内容>

 

日志采集方式 之 Agent模式

  • 客户端bugly平台
  • 主要是客户端日志上报

网易

http://blog.itpub.net/31077337/viewspace-2200166/

 

Zlogfabric

 

谷歌云日志平台

  • SDK模式:有各种语言的SDK:

亚马逊集中式日志

Flunet bit 支持AGENT,  API(TCP)

https://aws.amazon.com/cn/blogs/china/centralized-container-logging-fluent-bit/

https://fluentbit.io/

Fluent Bit is an open source and multi-platform log processor tool which aims to be a generic Swiss knife for logs processing and distribution.

Nowadays the number of sources of information in our environments is ever increasing. Handling data collection at scale is complex, and collecting and aggregating diverse data requires a specialized tool that can deal with:

  • Different sources of information
  • Different data formats
  • Data Reliability
  • Security
  • Flexible Routing
  • Multiple destinations

Fluent bit源码

https://github.com/fluent/fluent-bit

cloudTrail

https://blog.csdn.net/iloveaws/article/details/103559710

facebook集中式日志管理

LogDevice:https://github.com/facebookincubator/LogDevice

Scribe https://github.com/facebookarchive/scribe

EFK

  • EFK(ElasticSearch - Fluentd - Kibana)

    

Agent模式 vs API模式 vs SDK模式

类别名称LogListener 采集API 方式采集SDK模式
修改代码对应用程序是无侵入式,无需修改代码需修改应用程序代码才能上报日志需要修改代码
断点续传支持断点续传日志自行代码实现SDK能力决定
失败重传自带重试机制自行代码实现SDK能力决定
本地缓存支持本地缓存,高峰期间保障数据完整自行代码实现SDK能力决定
资源占用占用内存、CPU 等资源无额外资源占用有资源占用
语言支持所有语言所有语言SDK支持的特定语言
  • 2
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值