linux – 从多个nginx服务器聚合流量统计数据的最佳工具是什么?

设置:
2 or more Nginx machines
each machine has the same virtual hosts
traffic is load balanced via DNS to each machine

我需要弄清楚什么是最好的工具来获取一些流量统计数据,主要是对点击量和总流量(千兆字节)感兴趣.显然,日志信息将来自Nginx,格式如下:

log_format  main  '$remote_addr $host $remote_user [$time_local] "$request" '
                    '$status $body_bytes_sent "$http_referer" "$http_user_agent" "$gzip_ratio"';

解决方法

awstats绝对是这项工作的工具.

相关文章

1、安装Apache。 1)执行如下命令,安装Apache服务及其扩展包...
一、先说一下用ansible批量采集机器信息的实现办法: 1、先把...
安装配置 1. 安装vsftpd 检查是否安装了vsftpd # rpm -qa | ...
如何抑制stable_secret读取关键的“net.ipv6.conf.all.stabl...
1 删除0字节文件 find -type f -size 0 -exec rm -rf {} ...
## 步骤 1:安装必要的软件包 首先,需要确保系统已安装 `dh...