Wener笔记故事指南
- Logging Stack
- ELK
- EFK - Elastic, Fluent, Kibana
- PLG - Promtail, Loki, Grafana
- FIG - Fluent, InfluxDB, Grafana
- OS Log
- linux
- windows
- macos
- /var/log
- system.log
- wifi.log
- install.log
- /Library/Logs
- ~/Library/Logs
Collector
- vector
- fluent/fluentd
- Apache-2.0, Ruby+C
- 去中心化插件系统
- 基于 Tag 路由
- fluent/fluent-bit
- Apache-2.0, C
- 支持 Go 插件 - musl 不支持
- Logstash
- beats
- filebeat
- metricbeat
- packetbeat
- winlogbeat
- auditbeat
- heartbeat
- functionbeat
- Splunk
日志存储
FAQ
fluent-bit vs Fluentd
- fluent-bit
- 更加轻量 - 运行内存 450K
- 插件较少 - 35+
- 强调叶子节点日志采集 - 类似 各种 beats 集合
- Fluentd
- Ruby+C - 运行内存 40MB
- 插件多 - 650+
- 强调日志聚合分析处理
Fluentd vs Logstash