1HALOG(1)                         User Commands                        HALOG(1)
2
3
4

NAME

6       halog - HAProxy log statistics reporter
7

SYNOPSIS

9       halog [-h|--help]
10       halog [options] <LOGFILE
11

DESCRIPTION

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

OPTIONS

17   Input filters (several filters may be combined)
18       -H     Only match lines containing HTTP logs (ignore TCP)
19
20       -E     Only match lines without any error (no 5xx status)
21
22       -e     Only match lines with errors (status 5xx or negative)
23
24       -rt|-RT <time>
25              Only match response times larger|smaller than <time>
26
27       -Q|-QS Only match queued requests (any queue|server queue)
28
29       -tcn|-TCN <code>
30              Only match requests with/without termination code <code>
31
32       -hs|-HS <[min][:][max]>
33              Only match requests with HTTP  status  codes  within/not  within
34              min..max.  Any of them may be omitted. Exact code is checked for
35              if no ':' is specified.
36
37   Modifiers
38       -v     Invert the input filtering condition
39
40       -q     Don't report errors/warnings
41
42       -m <lines>
43              Limit output to the first <lines> lines
44
45   Output filters - only one may be used at a time
46       -c     Only report the number of lines that would have been printed
47
48       -pct   Output connect and response times percentiles
49
50       -st    Output number of requests per HTTP status code
51
52       -cc    Output number of requests per cookie code (2 chars)
53
54       -tc    Output number of requests per termination code (2 chars)
55
56       -srv   Output statistics per server (time, requests, errors)
57
58       -u*    Output statistics per URL (time, requests, errors)
59              Additional characters indicate the output sorting key:
60
61              -u     URL
62
63              -uc    Request count
64
65              -ue    Error count
66
67              -ua    Average response time
68
69              -ut    Average total time
70
71              -uao, -uto
72                     Average times computed on valid ('OK') requests
73
74              -uba   Average bytes returned
75
76              -ubt   Total bytes returned
77

SEE ALSO

79       haproxy(1)
80

AUTHOR

82       halog  was  written  by  Willy  Tarreau  <w@1wt.eu>  and  is  part   of
83       haproxy(1).
84
85       This     manual    page   was   written   by   Apollon   Oikonomopoulos
86       <apoikos@gmail.com> for the Debian project (but may be used by others).
87
88
89
90
91halog                              July 2013                          HALOG(1)
Impressum