Skip to content
wvanbergen edited this page Sep 4, 2010 · 23 revisions
Usage: request-log-analyzer [LOGFILES*] <OPTIONS>

Input options:
  --format <format>, -f:     Uses the specified log file format. Defaults to rails.
  --after <date>             Only consider requests from <date> or later.
  --before <date>            Only consider requests before <date>.
  --select <field> <value>   Only consider requests where <field> matches <value>.
  --reject <field> <value>   Only consider requests where <field> does not match <value>.

Output options:
  --boring, -b               Output reports without ASCII colors.
  --database <filename>: Creates an SQLite3 database of all the parsed request information.
  --debug                    Print debug information while parsing.

Examples:
  request-log-analyzer development.log
  request-log-analyzer -z mongrel.0.log mongrel.1.log mongrel.2.log 
  request-log-analyzer --format merb -d requests.db production.log