Skip to content

Instantly share code, notes, and snippets.

@fluential
Created November 30, 2016 15:08
Show Gist options
  • Select an option

  • Save fluential/bbdbe73c725fbd88adbb82f966eac036 to your computer and use it in GitHub Desktop.

Select an option

Save fluential/bbdbe73c725fbd88adbb82f966eac036 to your computer and use it in GitHub Desktop.

Revisions

  1. fluential created this gist Nov 30, 2016.
    1 change: 1 addition & 0 deletions haproxy-json-log-format.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    log-format: '{"timestamp":%Ts,"frontend_name":"%f","remote_addr":"%ci","bytes_read":%B,"upstream_addr":"%si","backend_name":"%b","retries":%rc,"bytes_uploaded":%U,"upstream_connect_time":"%Tc","session_duration":"%Tt","termination_state":"%ts","srv_queue":%sq,"backend_queue":"%bq","frontend_concurrent_conns":%fc,"backend_concurrent_conns":%bc}'