wsongl

log_format main \'{"logtime": "$time_local", \'
\'"client_ip": "$remote_addr", \'
\'"remote_user": "$remote_user", \'
\'"http_referer": "$http_referer", \'
\'"resp_len": "$body_bytes_sent", \'
\'"waster_time": "$request_time", \'
\'"status": "$status", \'
\'"request_path": "$request", \'
\'"request_method": "$request_method", \'
\'"request_url": "$http_referer", \'
\'"body_bytes_sent":"$body_bytes_sent", \'
\'"http_forwarded": "$http_x_forwarded_for", \'
\'"user_agent": "$http_user_agent" ,\'
\'"upstream": "$upstream_addr",\'
\'"upstream_time": "$upstream_response_time",\'
\'"upstream_status": "$upstream_status"}\';

 

https://www.cnblogs.com/kevingrace/p/5893499.html

分类:

技术点:

相关文章:

  • 2021-07-06
  • 2021-11-19
  • 2021-11-19
  • 2021-11-19
  • 2021-11-19
  • 2021-11-19
  • 2021-11-19
猜你喜欢
  • 2023-03-20
  • 2021-11-19
  • 2021-11-19
  • 2021-11-19
  • 2021-08-09
  • 2021-09-09
相关资源
相似解决方案