763875
.TH HALOG "1" "July 2013" "halog" "User Commands"
763875
.SH NAME
763875
halog \- HAProxy log statistics reporter
763875
.SH SYNOPSIS
763875
.B halog
763875
[\fI-h|--help\fR]
763875
.br
763875
.B halog
763875
[\fIoptions\fR] 
763875
.SH DESCRIPTION
763875
.B halog
763875
reads HAProxy log data from stdin and extracts and displays lines matching
763875
user-specified criteria.
763875
.SH OPTIONS
763875
.SS Input filters \fR(several filters may be combined)
763875
.TP
763875
\fB\-H\fR
763875
Only match lines containing HTTP logs (ignore TCP)
763875
.TP
763875
\fB\-E\fR
763875
Only match lines without any error (no 5xx status)
763875
.TP
763875
\fB\-e\fR
763875
Only match lines with errors (status 5xx or negative)
763875
.TP
763875
\fB\-rt\fR|\fB\-RT\fR <time>
763875
Only match response times larger|smaller than <time>
763875
.TP
763875
\fB\-Q\fR|\fB\-QS\fR
763875
Only match queued requests (any queue|server queue)
763875
.TP
763875
\fB\-tcn\fR|\fB\-TCN\fR 
763875
Only match requests with/without termination code 
763875
.TP
763875
\fB\-hs\fR|\fB\-HS\fR <[min][:][max]>
763875
Only match requests with HTTP status codes within/not within min..max. Any of
763875
them may be omitted. Exact code is checked for if no ':' is specified.
763875
.SS
763875
Modifiers
763875
.TP
763875
\fB\-v\fR
763875
Invert the input filtering condition
763875
.TP
763875
\fB\-q\fR
763875
Don't report errors/warnings
763875
.TP
763875
\fB\-m\fR <lines>
763875
Limit output to the first <lines> lines
763875
.SS
763875
Output filters \fR\- only one may be used at a time
763875
.TP
763875
\fB\-c\fR
763875
Only report the number of lines that would have been printed
763875
.TP
763875
\fB\-pct\fR
763875
Output connect and response times percentiles
763875
.TP
763875
\fB\-st\fR
763875
Output number of requests per HTTP status code
763875
.TP
763875
\fB\-cc\fR
763875
Output number of requests per cookie code (2 chars)
763875
.TP
763875
\fB\-tc\fR
763875
Output number of requests per termination code (2 chars)
763875
.TP
763875
\fB\-srv\fR
763875
Output statistics per server (time, requests, errors)
763875
.TP
763875
\fB\-u\fR*
763875
Output statistics per URL (time, requests, errors)
763875
.br
763875
Additional characters indicate the output sorting key:
763875
.RS
763875
.TP
763875
\fB\-u\fR
763875
URL
763875
.TP
763875
\fB\-uc\fR
763875
Request count
763875
.TP
763875
\fB\-ue\fR
763875
Error count
763875
.TP
763875
\fB\-ua\fR
763875
Average response time
763875
.TP
763875
\fB\-ut\fR
763875
Average total time
763875
.TP
763875
\fB\-uao\fR, \fB\-uto\fR
763875
Average times computed on valid ('OK') requests
763875
.TP
763875
\fB\-uba\fR
763875
Average bytes returned
763875
.TP
763875
\fB\-ubt\fR
763875
Total bytes returned
763875
.RE
763875
.SH "SEE ALSO"
763875
.BR haproxy (1)
763875
.SH AUTHOR
763875
.PP
763875
\fBhalog\fR was written by Willy Tarreau <w@1wt.eu> and is part of \fBhaproxy\fR(1).
763875
.PP
763875
This  manual page was written by Apollon Oikonomopoulos <apoikos@gmail.com> for the Debian project (but may
763875
be used by others).
763875