OS Manuals

/usr/bin/traffic_logstats

Apache Traffic Server™ is a fast, scalable and extensible HTTP/1.1 and HTTP/2 compliant caching proxy server.

From trafficserver-9 9.2.16-r0 (os), captured 2026-11-05 by running traffic_logstats --help (exit 64). permalink

Usage: traffic_logstats [--SWITCH [ARG]]
  switch__________________type__default___description
  -f, --log_file          str             Specific logfile to parse
  -o, --origin_list       str             Only show stats for listed Origins
  -O, --origin_file       str             File listing Origins to show
  -M, --max_origins       int   0         Max number of Origins to show
  -u, --urls              int   0         Produce JSON stats for URLs, argument is LRU size
  -U, --show_urls         int   0         Only show max this number of URLs
  -A, --as_object         tog   false     Produce URL stats as a JSON object instead of array
  -C, --concise           tog   false     Eliminate metrics that can be inferred from other values
  -i, --incremental       tog   false     Incremental log parsing
  -S, --statetag          str             Name of the state file to use
  -t, --tail              int   0         Parse the last <sec> seconds of log
  -s, --summary           tog   false     Only produce the summary
  -j, --json              tog   false     Produce JSON formatted output
  -c, --cgi               tog   false     Produce HTTP headers suitable as a CGI
  -m, --min_hits          i64   0         Minimum total hits for an Origin
  -a, --max_age           int   0         Max age for log entries to be considered
  -l, --line_len          int   78        Output line length
  -T, --debug_tags        str             Colon-Separated Debug Tags
  -r, --report_per_user   tog   false     Report stats per user instead of host
  -n, --no_format_check   tog   false     Don't validate the log format field names
  -h, --help                              Print usage information
  -V, --version                           Print version string
      --run-root                          using TS_RUNROOT as sandbox
Options (23)
OptionDescriptionSource
-f, --log_filestr Specific logfile to parsehelp
-o, --origin_liststr Only show stats for listed Originshelp
-O, --origin_filestr File listing Origins to showhelp
-M, --max_originsint 0 Max number of Origins to showhelp
-u, --urlsint 0 Produce JSON stats for URLs, argument is LRU sizehelp
-U, --show_urlsint 0 Only show max this number of URLshelp
-A, --as_objecttog false Produce URL stats as a JSON object instead of arrayhelp
-C, --concisetog false Eliminate metrics that can be inferred from other valueshelp
-i, --incrementaltog false Incremental log parsinghelp
-S, --statetagstr Name of the state file to usehelp
-t, --tailint 0 Parse the last <sec> seconds of loghelp
-s, --summarytog false Only produce the summaryhelp
-j, --jsontog false Produce JSON formatted outputhelp
-c, --cgitog false Produce HTTP headers suitable as a CGIhelp
-m, --min_hitsi64 0 Minimum total hits for an Originhelp
-a, --max_ageint 0 Max age for log entries to be consideredhelp
-l, --line_lenint 78 Output line lengthhelp
-T, --debug_tagsstr Colon-Separated Debug Tagshelp
-r, --report_per_usertog false Report stats per user instead of hosthelp
-n, --no_format_checktog false Don't validate the log format field nameshelp
-h, --helpPrint usage informationhelp
-V, --versionPrint version stringhelp
--run-rootusing TS_RUNROOT as sandboxhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.