.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH HAPROXY_LOG_ANALYSIS "1" "November 2023" "haproxy_log_analysis 5.1.0" "User Commands" .SH NAME haproxy_log_analysis \- generate aggregate statistics from HAProxy HTTP logs .SH DESCRIPTION usage: haproxy_log_analysis [\-h] [\-l LOG] [\-s START] [\-d DELTA] [\-c COMMAND] .TP [\-f FILTER] [\-n] [\-\-list\-commands] [\-\-list\-filters] [\-\-json] [\-\-invalid] .PP Analyze HAProxy log files and outputs statistics about it .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-l\fR LOG, \fB\-\-log\fR LOG HAProxy log file to analyze .TP \fB\-s\fR START, \fB\-\-start\fR START Process log entries starting at this time, in HAProxy date format (e.g. 11/Dec/2013 or 11/Dec/2013:19:31:41). At least provide the day/month/year. Values not specified will use their base value (e.g. 00 for hour). Use in conjunction with \fB\-d\fR to limit the number of entries to process. .TP \fB\-d\fR DELTA, \fB\-\-delta\fR DELTA Limit the number of entries to process. Express the time delta as a number and a time unit, e.g.: 1s, 10m, 3h or 4d (for 1 second, 10 minutes, 3 hours or 4 days). Use in conjunction with \fB\-s\fR to only analyze certain time delta. If no start time is given, the time on the first line will be used instead. .TP \fB\-c\fR COMMAND, \fB\-\-command\fR COMMAND List of commands, comma separated, to run on the log file. See \fB\-\-list\-commands\fR to get a full list of them. .TP \fB\-f\fR FILTER, \fB\-\-filter\fR FILTER List of filters to apply on the log file. Passed as comma separated and parameters within square brackets, e.g ip[192.168.1.1],ssl,path[/some/path]. See \fB\-\-listfilters\fR to get a full list of them. .TP \fB\-n\fR, \fB\-\-negate\-filter\fR Make filters passed with \fB\-f\fR work the other way around, i.e. if the ``ssl`` filter is passed instead of showing only ssl requests it will show non\-ssl traffic. If the ``ip`` filter is used, then all but that ip passed to the filter will be used. .TP \fB\-\-list\-commands\fR Lists all commands available. .TP \fB\-\-list\-filters\fR Lists all filters available. .TP \fB\-\-json\fR Output results in json. .TP \fB\-\-invalid\fR Print the lines that could not be parsed. Be aware that mixing it with the print command will mix their output.