Skip to content

Instantly share code, notes, and snippets.

@oranie
Created March 12, 2012 15:16
Show Gist options
  • Save oranie/2022569 to your computer and use it in GitHub Desktop.
Save oranie/2022569 to your computer and use it in GitHub Desktop.
psgi_fluent_format
format \/^(?<XFF-host>[^ ]*) (?<host>[^ ]*) [^ ]* (?<user>[^ ]*) \\[(?<time>[^\\]]*)\\] "(?<method>\\S+)(?: +(?<path>[^ ]*) +\\S*)?" (?<status>[^ ]*) (?<size>[^ ]*)(?: "(?<referer>[^\\"]*)" "(?<agent>[^\\"]*)" (?<response_time>[^ ]*))?\$\/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment