ngompa / rpms / haproxy

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