Skip to content

Instantly share code, notes, and snippets.

@dragolabs
Created July 20, 2016 10:36
Show Gist options
  • Select an option

  • Save dragolabs/df61ce58b39a1ebb4ffcfbcf637f287d to your computer and use it in GitHub Desktop.

Select an option

Save dragolabs/df61ce58b39a1ebb4ffcfbcf637f287d to your computer and use it in GitHub Desktop.
log_format elk '$remote_addr - $remote_user [$time_local] '
'"$request" $status $bytes_sent '
'"$http_referer" "$http_user_agent" '
'"$host" "$uri" "$args" "$sent_http_location" '
'"$proxy_host" "$upstream_addr" "$upstream_cache_status" '
'[$request_time] [$upstream_response_time]';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment