Skip to content

Instantly share code, notes, and snippets.

@fluential
Created November 30, 2016 15:08
Show Gist options
  • Save fluential/bbdbe73c725fbd88adbb82f966eac036 to your computer and use it in GitHub Desktop.
Save fluential/bbdbe73c725fbd88adbb82f966eac036 to your computer and use it in GitHub Desktop.
haproxy-json-log-format
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}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment