Skip to content

Parse Nginx log Example

luopengift edited this page Sep 14, 2017 · 4 revisions
/etc/nginx/nginx.conf
...
log_format main '$time_iso8601|$http_x_forwarded_for|$remote_addr|$upstream_addr|$server_addr|$hostname|$http_host|$server_name|$http_referer|$status|$body_bytes_sent|$upstream_response_time|$request_time|$request_method|$https|$scheme|$request_uri|$http_user_agent|$args|$request_body';
...
Clone this wiki locally