Welcome to alstat’s documentation!
alstat is advances logs statistics. It’s collection of utils to analyze logs.
Features
Unpack gzipped logfiles
Fast
Usage
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 http://google.com .... to many lines GET 404 http://ya.ru/ PUT 200 http://yandex.com/
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
INSTALLATION
To use alstat use pip or easy_install:
pip install alstat
or
easy_install alstat
TODO
Add group by fields and count
Web interface with reports
CONTRIBUTE
Fork https://github.com/Lispython/alstat/ , create commit and pull request.
THANKS
To David M. Beazley for generators examples.
SEE ALSO
Metadata
Release files for alstat 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| alstat-0.0.7.tar.gz | 8.6 kB | Without provenance | Details |
Release files / alstat-0.0.7.tar.gz
| Download URL | alstat-0.0.7.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
daa30cc66c55fac30bdc006a85ac6439eef967ecbac66d7bb42a9488bc848eab
|
|
BLAKE2b-256 checksum How to use checksums |
eab42bd2fec4734b4a247f43852fc178a30b40575ac0406a9e192d5d7fafc172
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for alstat 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.