An open API service indexing awesome lists of open source software.

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

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)