Skip to content
Create reports based on your log files. Supports Rails, Apache, MySQL, Delayed::Job, and other formats.
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Add IneritableAttributes Class and Specs Oct 27, 2014
lib Bump version Nov 6, 2014
spec add encoding to fix specs in ruby 1.9 env Oct 27, 2014
tasks Use Bundler gem tasks. Apr 20, 2013
.gitignore Add ruby mine to .gitignore Oct 27, 2014
CHANGELOG.rdoc Small documentation updates Nov 6, 2014
CONTRIBUTING.rdoc More CONTRIBUTING copy updates Oct 27, 2014
DESIGN.rdoc Whitespace fixes Sep 26, 2010
Gemfile RBX fixes Jan 31, 2014
Gemfile.activerecord3 RBX fixes Jan 31, 2014
Gemfile.activerecord4 RBX fixes Jan 31, 2014
LICENSE Add license to gemspec Sep 4, 2013
README.rdoc Another small README cleanup Nov 6, 2014
Rakefile Use Bundler gem tasks. Apr 20, 2013
request-log-analyzer.gemspec Add CONTRIBUTING.rdoc Oct 27, 2014



This is a simple command line tool to analyze request log files in various formats to produce a performance report. Its purpose is to find what actions are best candidates for optimization.

  • Analyzes log files. Currently supports: Amazon S3, Apache, Delayed::Job, Merb, Mysql, PostgreSQL, Rack, Rails and more.

  • Combines multiple files and decompresses compressed files, which comes in handy if you are using logrotate.

  • Uses several metrics, including cumulative request time, mean request time, process blockers, database and rendering time, HTTP methods and statuses, Rails action cache statistics, etc.) (Sample output:

  • Runs on any MRI 1.9+ compatible Ruby, has a low memory footprint and is reasonably fast, so it is safe to run on a production server.

See the project wiki at for documentation and additional information.

Installation & basic usage

Install request-log-analyzer as a Ruby gem (you might need to run this command as root by prepending sudo to it):

$ gem install request-log-analyzer

To analyze a Rails log file and produce a performance report, run request-log-analyzer like this:

$ request-log-analyzer log/production.log

For more details, other file formats, and available command line options, see the project's wiki at

Additional information

Request-log-analyzer was designed and built by Willem van Bergen and Bart ten Brinke.

Do you have a rails application that is not performing as it should? If you need an expert to analyze your application, feel free to contact either Willem van Bergen ( or Bart ten Brinke (

You can’t perform that action at this time.