Section 1 · User commands

halog.1

Package: haproxy

HALOG

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
AUTHOR


NAME

halog − HAProxy log statistics reporter

SYNOPSIS

halog [-h|—help] **
halog** [options] <LOGFILE

DESCRIPTION

halog reads HAProxy log data from stdin and extracts and displays lines matching user-specified criteria.

OPTIONS

Input filters (several filters may be combined)

−HOnly match lines containing HTTP logs (ignore TCP)
−EOnly match lines without any error (no 5xx status)
−eOnly match lines with errors (status 5xx or negative)

−rt|−RT <time>

Only match response times larger|smaller than <time>

−Q|−QSOnly match queued requests (any queue|server queue)

−tcn|−TCN <code>

Only match requests with/without termination code <code>

−hs|−HS <[min][:][max]>

Only match requests with HTTP status codes within/not within min..max. Any of them may be omitted. Exact code is checked for if no ’:’ is specified.

Modifiers

−vInvert the input filtering condition
−qDon’t report errors/warnings

−m <lines>

Limit output to the first <lines> lines

Output filters - only one may be used at a time

−cOnly report the number of lines that would have been printed
−pctOutput connect and response times percentiles
−stOutput number of requests per HTTP status code
−ccOutput number of requests per cookie code (2 chars)
−tcOutput number of requests per termination code (2 chars)
−srvOutput statistics per server (time, requests, errors)
−u*Output statistics per URL (time, requests, errors)

Additional characters indicate the output sorting key:

−uURL
−ucRequest count
−ueError count
−uaAverage response time
−utAverage total time

−uao, −uto

Average times computed on valid (’OK’) requests

−ubaAverage bytes returned
−ubtTotal bytes returned

SEE ALSO

haproxy(1)

AUTHOR

halog was written by Willy Tarreau <w@1wt.eu> and is part of haproxy(1).

This manual page was written by Apollon Oikonomopoulos <apoikos@gmail.com> for the Debian project (but may be used by others).