HAPROXY_LOG_ANALYSIS(1)

πŸ“¦
version 6.0.0~a4 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

haproxy_log_analysis β€” generate aggregate statistics from HAProxy HTTP logs ✨


🌸 DESCRIPTION 🌸

okay bestie, buckle up πŸŽ€ this lil icon reads your HAProxy HTTP logs and spits out aggregate statistics about them. that's the whole vibe. here's how you actually call it:

usage: haproxy_log_analysis [-h] [-l LOG] [-s START] [-d DELTA] [-c
COMMAND]

[-f FILTER] [-n] [--list-commands]
       [--list-filters] [--json] [--invalid]
ngl the usage block is giving "I was reformatted and nobody fixed me" 😭 but it's exactly what it is, so we're keeping it verbatim. no cap.

Analyze HAProxy log files and outputs statistics about it πŸ’…


✨ options ✨

  • -h, --help β€” shows this help message and dips out (exits). the classic. 🫢
  • -l, --log LOG β€” the HAProxy log file you wanna analyze. pick your fighter πŸ“‚
  • -s, --start START β€” process log entries starting at this time, written in HAProxy date format (like 11/Dec/2013 or 11/Dec/2013:19:31:41). at minimum you gotta give it the day/month/year, okay? any value you don't specify just falls back to its base value (so hour defaults to 00, etc.). use it together with -d to limit how many entries get processed. ⏰
  • -d, --delta DELTA β€” caps the number of entries to process. write the time delta as a number plus a time unit, e.g.: 1s, 10m, 3h or 4d (that's 1 second, 10 minutes, 3 hours or 4 days β€” cute, right?). pair it with -s to only analyze that specific time delta. and if you don't give a start time, it just uses the time on the first line instead. ⏳
  • -c, --command COMMAND β€” a list of commands, comma separated, to run on the log file. wanna know all the options? run --list-commands bestie. 🧾
  • -f, --filter FILTER β€” a list of filters to apply on the log file. pass them comma separated, with any parameters hanging out inside square brackets, like ip[192.168.1.1],ssl,path[/some/path]. go check --listfilters for the full list of them. πŸ”
  • -n, --negate-filter β€” flips your -f filters so they work the other way around, i.e. if you pass the ssl filter, instead of showing only ssl requests it'll show non-ssl traffic. same energy with the ip filter: everything but that ip you passed gets used. 😈
  • --list-commands β€” lists every command available. the whole menu, served fresh. πŸ“œ
  • --list-filters β€” lists every filter available. equally iconic. πŸŽ€
  • --json β€” output results in json. for when you want your stats machine-readable, iykyk. πŸ€–
  • --invalid β€” prints the lines that couldn't be parsed. heads up though: if you mix it with the print command, their output gets mixed together. you've been warned. πŸ’€

🌈 reminder from your local unix bestie: every flag above is doing exactly what it says, nothing more, nothing less. read the caveats, respect the caveats, slay. πŸ’…

and that's the whole page, bestie! this gem is haproxy_log_analysis 6.0.0~a4, from January 2026 β€” go forth and aggregate your little heart out πŸ‘‘ ✨ πŸ¦‹

πŸ“¦ where this page comes from