apache-replay-0.0.3
توضیحات
Facilitates replaying of Apache files in Common Log and Combined Log format
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | apache-replay-0.0.3 |
| نام | apache-replay |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Daniel Davis |
| ایمیل نویسنده | dan@danizen.net |
| آدرس صفحه اصلی | https://github.com/danizen/apache-replay.git |
| آدرس اینترنتی | https://pypi.org/project/apache-replay/ |
| مجوز | - |
# apache-replay python package
## Summary
Many pieces of software exist that can take an existing Apache httpd (or other)
logs in the Common Log format or Combined log format, parse them, and then do
something with them. I find it convenient to be able to do this with pure
Python, using a package that can be installed from pip.
## Features
- Replay requests against a new server
- Count log entries
- Filter based on start and end dates
- Print logs with a new canonical server URL
## Installation
Installation is normal:
pip install apache-replay
## Usage
Generate usage with:
apache-replay --help
## Examples
Count the number of requests in November of 2018:
apache-replay --player count https://site.com/ /var/logs/httpd/access_log.2018-11*
Replay those same logs (only GET, HEAD, OPTIONS) against qa-mysite.com:
apache-replay https://qasite.com/ /var/logs/httpd/access_log.2018-11*
Only replay 2000 log entries from that file
apache-replay --count 2000 https://qasite.com/ /var/logs/httpd/access_log.2018-11*
## License
MIT License
نیازمندی
| مقدار | نام |
|---|---|
| - | attrs |
| - | requests |
نحوه نصب
نصب پکیج whl apache-replay-0.0.3:
pip install apache-replay-0.0.3.whl
نصب پکیج tar.gz apache-replay-0.0.3:
pip install apache-replay-0.0.3.tar.gz