摘要:
原理:在filebeat这台服务器上的nginx中获取到客户端真实IP($clientRealIp), 然后在访问日志中添加"$clientRealIp"字段。1. 通过map获取到用户真实IP,并调整日志格式,增加$clientRealIp段http { map $http_x_forwarded 阅读全文
posted @ 2017-08-06 10:48
kaka_jon
阅读(1999)
评论(0)
推荐(0)
浙公网安备 33010602011771号