Skip to content

Instantly share code, notes, and snippets.

@darkshade9
Created November 28, 2016 20:07
Show Gist options
  • Select an option

  • Save darkshade9/9177f751ae4f06600f722f1d4a9a6824 to your computer and use it in GitHub Desktop.

Select an option

Save darkshade9/9177f751ae4f06600f722f1d4a9a6824 to your computer and use it in GitHub Desktop.
\<%{POSINT:pid}\>%{SYSLOGTIMESTAMP:syslog_timestamp} %{IPORHOST:syslog_server}\[%{SYSLOGPROG}\]: %{IP:client_ip}:%{NUMBER:client_port} \[%{HAPROXYDATE:accept_date}\] %{NOTSPACE:frontend_name} %{NOTSPACE:backend_name}/%{NOTSPACE:server_name} %{NUMBER:time_request}/%{NUMBER:time_queue}/%{NUMBER:time_backend_connect}/%{NUMBER:time_backend_response}/%{NOTSPACE:time_duration} %{NUMBER:http_status_code} %{NOTSPACE:bytes_read} %{DATA:captured_request_cookie} %{DATA:captured_response_cookie} %{NOTSPACE:termination_state} %{NUMBER:actconn}/%{NUMBER:feconn}/%{NUMBER:beconn}/%{NUMBER:srvconn}/%{NOTSPACE:retries} %{NUMBER:srv_queue}/%{NUMBER:backend_queue} (\{%{HAPROXYCAPTUREDREQUESTHEADERS}\})?( )?(\{%{HAPROXYCAPTUREDRESPONSEHEADERS}\})?( )?\"%{WORD:http_verb} %{URIPATHPARAM:http_request}( HTTP/%{NUMBER:http_version}\")?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment