日志框架.png
‘log forwarders’ 部署在每個應用容器中, 監(jiān)聽容器內(nèi)日志文件的變化并把日志信息(加工后)通過網(wǎng)絡轉(zhuǎn)發(fā)到 ‘log aggregators’.
‘log aggregators’ are daemons that continuously receive events from the log forwarders. They buffer the events and periodically upload the data into the cloud.
一般使用Fluent Bit作為log forwarders, 而使用Fluentd作為log aggregators
Fluentd | Fluent Bit | |
---|---|---|
Scope | Containers / Servers | Containers / Servers |
Language | C & Ruby | C |
Memory | ~40MB | ~450KB |
Performance | High Performance | High Performance |
Dependencies | Built as a Ruby Gem, it requires a certain number of gems. | Zero dependencies |
Plugins | More than 650 plugins available | Around 35 plugins available |
License | Apache License v2.0 | Apache License v2.0 |