Skip to main content

Collection of advanced utils to parse logfiles in different formats and build statistic reports

Project description

alstat is advances logs statistics. It’s collection of utils to analyze logs.


  • Unpack gzipped logfiles
  • Fast


This commant print all lines from all log files in directory /var/log/nginx if format http_method status http_referer:

alstat -d /var/log/nginx/ -p "*access*" -f "base" http_method status http_referer

GET 200
.... to many lines
GET 404
PUT 200

You can view fields list that you can use to display:

alstat -d /var/log/nginx/ -p "*access*" -l

Alstat v0.0.1 start at Tue May  8 23:25:24 2012
You can use fieldnames: status, http_protocol, http_method, http_referer, remote_addr, url, time_local, http_user_agent, remote_user, size


To use alstat use pip or easy_install:

pip install alstat


easy_install alstat


  • Add group by fields and count
  • Web interface with reports


Fork , create commit and pull request.


To David M. Beazley for generators examples.


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for alstat, version 0.0.7
Filename, size & hash File type Python version Upload date
alstat-0.0.7.tar.gz (8.6 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page