alstat is a Python module that advances logs statistics. It's collection of utils to analyze logs.
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
Product's homepage
Here are some key features of "alstat":
· Unpack gzipped logfiles
· Fast
Requirements:
· Python
Site Download Here
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
Product's homepage
Here are some key features of "alstat":
· Unpack gzipped logfiles
· Fast
Requirements:
· Python
Site Download Here
Tidak ada komentar:
Posting Komentar
Hanya manusia yang berkomentar baik dan sopan. sedangkan hanya binatang yang berkomentar buruk dan tidak memikirkan perasaan dan tidak menghargai orang lain... Trima kasih....