creativestyle / mageops-report-cloudwatch-forwarder
Forwards exception report files to CloudWatch Logs
1.0.3
2024-11-22 18:08 UTC
Requires
- php: ^7 || ^8
- aws/aws-sdk-php: ^3.36
- psr/log: ^3
- symfony/console: ^4
Requires (Dev)
- macfja/phar-builder: ^0.2.8
This package is not auto-updated.
Last update: 2024-12-20 12:00:51 UTC
README
Forwards exception reports stored as individual files to AWS CloudWatch Logs.
This something that AWS CloudWatch Agent cannot do.
You should run it in cron every couple of minutes.
Example usage for Magento
bin/cli.php push:directory -v --formatter=serialized_array --region=eu-central-1 --group=magento-exc-report /var/www/magento-base/current/var/report/
Build
composer install --dev
composer build
Install
Fetch from GitHub releases
Find the latest release and install the PHAR directly.
curl -Ls https://github.com/mageops/php-report-cloudwatch-forwarder/releases/latest/download/aws-excfwd -o /usr/local/bin/aws-excfwd && chmod +x /usr/local/bin/aws-excfwd
CentOS RPM Package
Install the package from MageOps RPM Repository.
Use composer global install (not recommened)
composer global require creativestyle/mageops-report-cloudwatch-forwarder