目录

Filebeat 使用记录

目录

调试

1
2
3
4
5
filebeat --path.config . --path.data data --path.logs logs --httpprof 0.0.0.0:6060 -c filebeat.yml run -e

go tool pprof http://0.0.0.0:6060/debug/pprof/profile

# 在 go pprof 中输入 top10 查看前10资源占用项