Skip to content

Instantly share code, notes, and snippets.

@VerosK
Forked from fluential/haproxy-json-log-format.txt
Created January 14, 2019 10:38
Show Gist options
  • Save VerosK/1c1d5ff288d593121aa3c8c007414270 to your computer and use it in GitHub Desktop.
Save VerosK/1c1d5ff288d593121aa3c8c007414270 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