{"id":18090805,"url":"https://github.com/elevantiq/monolog-cloudwatch-bundle","last_synced_at":"2026-04-29T14:07:07.905Z","repository":{"id":98850139,"uuid":"214646943","full_name":"elevantiq/monolog-cloudwatch-bundle","owner":"elevantiq","description":"Symfony Bundle to connect Monolog with AWS CloudWatch","archived":false,"fork":false,"pushed_at":"2019-10-12T13:51:12.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-17T21:51:10.797Z","etag":null,"topics":["cloudwatch-logs","monolog-handler","symfony","symfony-bundle","symfony3","symfony4"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elevantiq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-12T12:53:03.000Z","updated_at":"2020-01-09T12:57:05.000Z","dependencies_parsed_at":"2023-05-25T20:45:34.102Z","dependency_job_id":null,"html_url":"https://github.com/elevantiq/monolog-cloudwatch-bundle","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"2cc342b37e3a77790bca203d2a3a581e74614811"},"previous_names":["elevantiq/monolog-cloudwatch-bundle"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/elevantiq/monolog-cloudwatch-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elevantiq%2Fmonolog-cloudwatch-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elevantiq%2Fmonolog-cloudwatch-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elevantiq%2Fmonolog-cloudwatch-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elevantiq%2Fmonolog-cloudwatch-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elevantiq","download_url":"https://codeload.github.com/elevantiq/monolog-cloudwatch-bundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elevantiq%2Fmonolog-cloudwatch-bundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32428641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudwatch-logs","monolog-handler","symfony","symfony-bundle","symfony3","symfony4"],"created_at":"2024-10-31T18:07:32.300Z","updated_at":"2026-04-29T14:07:07.873Z","avatar_url":"https://github.com/elevantiq.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monolog CloudWatch Bundle\n\nThis bundle heavily depends on the [maxbanton/cwh](https://github.com/maxbanton/cwh) package. So go to the Github repository and also leave a star.\n\nPrerequisites\n-------------\n\nThis bundle requires Symfony 3.4+.\n\nInstallation\n------------\n\nAdd [`alpin11/monolog-cloudwatch-bundle`](https://packagist.org/packages/alpin11/monolog-cloudwatch-bundle)\nto your `composer.json` file:\n\n    php composer.phar require \"alpin11/monolog-cloudwatch-bundle\"\n\n#### Register the bundle: \n\n**Symfony 3 Version:**  \nRegister bundle into `app/AppKernel.php`:\n\n``` php\npublic function registerBundles()\n{\n    return array(\n        // ...\n        new MonologCloudWatch\\MonologCloudWatchBundle(),\n    );\n}\n\n```\n**Symfony 4 Version :**   \nRegister bundle into `config/bundles.php`:  \n\n```php \nreturn [\n    //...\n    MonologCloudWatch\\MonologCloudWatchBundle::class =\u003e ['all' =\u003e true],\n];\n```\n \nAWS IAM needed permissions\n-------------\nif you prefer to use a separate programmatic IAM user (recommended) or want to define a policy, make sure following permissions are included:\n1. `CreateLogGroup` [aws docs](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateLogGroup.html)\n1. `CreateLogStream` [aws docs](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateLogStream.html)\n1. `PutLogEvents` [aws docs](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html)\n1. `PutRetentionPolicy` [aws docs](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutRetentionPolicy.html)\n1. `DescribeLogStreams` [aws docs](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogStreams.html)\n1. `DescribeLogGroups` [aws docs](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogGroups.html)\n\n## AWS IAM Policy full json example\n```json\n{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [\n        {\n            \"Effect\": \"Allow\",\n            \"Action\": \"logs:CreateLogGroup\",\n            \"Resource\": \"*\"\n        },\n        {\n            \"Effect\": \"Allow\",\n            \"Action\": [\n                \"logs:DescribeLogGroups\",\n                \"logs:CreateLogStream\",\n                \"logs:DescribeLogStreams\",\n                \"logs:PutRetentionPolicy\"\n            ],\n            \"Resource\": \"{LOG_GROUP_ARN}\"\n        },\n        {\n            \"Effect\": \"Allow\",\n            \"Action\": [\n                \"logs:PutLogEvents\"\n            ],\n            \"Resource\": [\n                \"{LOG_STREAM_1_ARN}\",\n                \"{LOG_STREAM_2_ARN}\"\n            ]\n        }\n    ]\n}\n```\n\nIssues\n-------------\nFeel free to [report any issues](https://github.com/alpin11/monolog-cloudwatch-bundle/issues/new)\n\nContributing\n-------------\nPlease check [this document](https://github.com/alpin11/monolog-cloudwatch-bundle/blob/master/CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felevantiq%2Fmonolog-cloudwatch-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felevantiq%2Fmonolog-cloudwatch-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felevantiq%2Fmonolog-cloudwatch-bundle/lists"}