‘log forwarders’ 部署在每个应用容器中, 监听容器内日志文件的变化并把日志信息(加工后)通过网络转发到 ‘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 |