标签:cap ddr esc amp gen iso style stream cos
log_format main escape=json ‘{ "@timestamp": "$time_iso8601", ‘ ‘"remote_addr": "$remote_addr",‘ ‘"costime": "$request_time",‘ ‘"realtime": "$upstream_response_time",‘ ‘"status": $status,‘ ‘"x_forwarded": "$http_x_forwarded_for",‘ ‘"referer": "$http_referer",‘ ‘"request": "$request",‘ ‘"upstr_addr": "$upstream_addr",‘ ‘"bytes":$body_bytes_sent,‘ ‘"dm":$request_body,‘ ‘"agent": "$http_user_agent" }‘;
标签:cap ddr esc amp gen iso style stream cos
原文地址:https://www.cnblogs.com/rubekid/p/10936883.html