TRAFFIC_LOGSTATS(8) | Apache Traffic Server | TRAFFIC_LOGSTATS(8) |
traffic_logstats - Traffic Server analyzer
traffic_logstats [options]
traffic_logstats is a log parsing utility, that is intended to produce metrics for total and per origin requests. Currently, this utility only supports parsing and processing the Squid binary log format, or a custom format that is compatible with the initial log fields of the Squid format.
Output can either be a human readable text file, or a JSON format. Parsing can be done incrementally, and traffic_logstats supports restarting where it left off previously (state is stored in an external file). This is useful when collecting metrics periodically into a stats processing system, and also supports the case where a log file is rotated.
The per-URL metrics (-u) requires that you specify a size of the LRU used for keeping the counters. This is to assure that traffic_logstats does not consume an exorbitant amount of memory.
2023, dev@trafficserver.apache.org
November 2, 2023 | 9.2 |