https://github.com/studio24/access-logs-bandwidth
Parse Apache access logs and output the total bandwidth for the past month
https://github.com/studio24/access-logs-bandwidth
Last synced: about 1 month ago
JSON representation
Parse Apache access logs and output the total bandwidth for the past month
- Host: GitHub
- URL: https://github.com/studio24/access-logs-bandwidth
- Owner: studio24
- License: mit
- Created: 2019-02-28T22:51:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-28T22:54:34.000Z (over 7 years ago)
- Last Synced: 2026-03-05T05:05:59.002Z (3 months ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Access Logs Bandwidth
Simple script to parse logs in a `data/` folder and output the total bandwidth for the past month in GB.
## Status
This is a proof of concept at present and requires refactoring into a proper CLI command.
## Requirements
* PHP 7.2+
* Composer
## Installation
```
composer install
```
Add your log files to the `data/` folder.
Run command: `php access-logs-bandwidth.php`
## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.
## Credits
- [Simon R Jones](https://github.com/simonrjones)