如何挖掘Nginx日志中隐藏的金矿
1个回答
展开全部
需求是这样,提取出nginx日志中,GET或者POST的数据中,名称为’shell’字段的数据 nginx日志的format配置:
'$proxy_add_x_forwarded_for - $remote_user [$time_local] "$request" '
'$status $request_body "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for" $request_time $upstream_response_time';
'$proxy_add_x_forwarded_for - $remote_user [$time_local] "$request" '
'$status $request_body "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for" $request_time $upstream_response_time';
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询