Download the PHP package piedweb/logs-analyzer without Composer
On this page you can find all versions of the php package piedweb/logs-analyzer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download piedweb/logs-analyzer
More information about piedweb/logs-analyzer
Files in piedweb/logs-analyzer
Package logs-analyzer
Short Description Can parse, filter and export to CSV via PHP or CLI your APACHE/Nginx/Microsoft/WhatYouWant logs.
License MIT
Homepage https://dev.piedweb.com
Informations about the package logs-analyzer
Logs Analyzer
This package can parse, filter and export to CSV via PHP or CLI your APACHE/Nginx/Microsoft/WhatYouWant logs.
FR: https://piedweb.com/seo/logs
Install
Via Packagist
Usage
Tu use it directly in php, see bin/analyzer example.
Else, you can use the command tools to filter and export to CSV your log files. Get the last args list via --help
:
About --format
Default parser work with Apache Access Logs :
You can change the regex directly via the CLI or by creating a new Class managing your special format. Your new class must extends \PiedWeb\LogsAnalyzer\LogLine
.
About --resume
This arg permits to have only unique request (requestMethod
+ url
+ status
) keeping only the first date
and time
and counting the number of hit
Testing
Contributing
Please see contributing
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of logs-analyzer with dependencies
cheprasov/php-cli-args Version ^2.1
kassner/log-parser Version ^1.4
vimeo/psalm Version ^4.4