Skip to main content

analog - Log Analysis Utility

Project description

Analog is a weblog analysis utility that provides these metrics:

  • Number for requests.
  • Response request method (HTTP verb) distribution.
  • Response status code distribution.
  • Requests per path.
  • Response time statistics (mean, median).
  • Response upstream time statistics (mean, median).
  • Response body size in bytes statistics (mean, median).
  • Per path request method (HTTP verb) distribution.
  • Per path response status code distribution.
  • Per path response time statistics (mean, median).
  • Per path response upstream time statistics (mean, median).
  • Per path response body size in bytes statistics (mean, median).

Documentation is on analog.readthedocs.org, code and issues are on github.com/fabianbuechler/analog and the package can be installed from PyPI at pypi.python.org/pypi/analog.

Changelog

1.0.0 - 2015-02-26

  • Provide yaml config file for Travis-CI.
  • Extend tox environments to cover 2.7, 3.2, 3.3, 3.4, pypy and pypy3.
  • Convert repository to git and move to github.
  • Set version only in setup.py, use via pkg_resources.get_distribution.

1.0.0b1 - 2014-04-06

  • Going beta with Python 3.4 support and good test coverage.

0.3.4 - 2014-04-01

  • Test analog.analyzer implementation.
  • Test analog.utils implementation.

0.3.3 - 2014-03-10

  • Test analog.renderers implementation.
  • Fix bug in default plaintext renderer.

0.3.2 - 2014-03-02

  • Test analog.report.Report implementation and fix some bugs.

0.3.1 - 2014-02-09

  • Rename --max_age option to --max-age for consistency.

0.3.0 - 2014-02-09

  • Ignore __init__.py at PEP257 checks since __all__ is not properly supported.
  • Fix custom log format definitions. Format selection in CLI via subcommands.
  • Add pypy to tox environments.

0.2.0 - 2014-01-30

  • Remove dependency on configparser package for Python 2.x.
  • Allow specifying all analog arguments in a file for convenience.

0.1.7 - 2014-01-27

  • Giving up on VERSIONS file. Does not work with different distributions.

0.1.6 - 2014-01-27

  • Include CHANGELOG in documentation.
  • Move VERSION file to analog module to make sure it can be installed.

0.1.5 - 2014-01-27

  • Replace numpy with backport of statistics for mean and median calculation.

0.1.4 - 2014-01-27

  • Move fallback for verbs, status_codes and paths configuration to analyzer. Also use the fallbacks in analog.analyzer.Analyzer.__init__ and analog.analyzer.analyze.

0.1.3 - 2014-01-27

  • Fix API-docs building on readthedocs.

0.1.1 - 2014-01-26

  • Add numpy to requirements.txt since installation via setup.py install does not work.
  • Strip VERSION when reading it in setup.py.

0.1.0 - 2014-01-26

  • Start documentation: quickstart and CLI usage plus API documentation.
  • Add renderers for CSV and TSV output. Use –output [csv|tsv]. Unified codebase for all tabular renderers.
  • Add renderer for tabular output. Use –output [grid|table].
  • Also analyze HTTP verbs distribution for overall report.
  • Remove timezone aware datetime handling for the moment.
  • Introduce Report.add method to not expose Report externals to Analyzer.
  • Install pytz on Python <= 3.2 for UTC object. Else use datetime.timezone.
  • Add tox environment for py2.7 and py3.3 testing.
  • Initial implementation of log analyzer and report object.
  • Initial package structure, docs, requirements, test scripts.

Download files

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

Files for analog, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size analog-1.0.0-py2.py3-none-any.whl (29.5 kB) File type Wheel Python version 2.7 Upload date Hashes View hashes
Filename, size analog-1.0.0.tar.gz (26.1 kB) File type Source Python version None Upload date Hashes View hashes

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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page