wazisera/flow-aws-cloudwatch

Last activity 05 Feb 2018 1 14
composer require wazisera/flow-aws-cloudwatch

1.0.1

Homepage
https://github.com/wazisera/flow-aws-cloudwatch
Version
1.0.1
Type
neos-package
Release Date
Apr 28, 2017 15:12
Source
git
Distribution
zip
Requires
MIT
  • #log
  • #logging
  • #flow
  • #aws
  • #neos
  • #cloudwatch
72abcee4acf8e83a0d46306d3f6e48adbd00a714

Amazon CloudWatch adaptor for Flow

This Flow package allows you to use AWS CloudWatch as a LogBackend for Flow.

Key features

  • Usable as every log backend for Flow
  • Can create the log stream automatically

Installation

The Wazisera AWS CloudWatch is installed as a regular Flow package via Composer. For your existing project, simply include wazisera/flow-aws-cloudwatch into the dependencies of your Flow or Neos distribution:

    $ composer require wazisera/flow-aws-cloudwatch:1.*

Configuration

In order to communicate with the AWS web service, you need to provide the credentials of an account which has access to CloudWatch. Add the following configuration to the Settings.yaml for your desired Flow context and make sure to replace logGroupName, logStreamName, key, secret and region with your own data:

Neos:
  Flow:
    log:
      systemLogger:
        # Backend and Backend options for the AWS CloudWatch
        backend: Wazisera\Aws\CloudWatch\CloudWatchBackend
        backendOptions:
          profile:
            credentials:
              key: 'ABCD123EFG456HIJ7890'
              secret: 'aBc123DEf456GHi789JKlMNopqRsTuVWXyz12345'
            version: 'latest'
            region: 'eu-central-1'
          logGroupName: 'TestLogGroup'
          logStreamName: 'TestLogStream'
          autoCreateLogStream: true

Licence

This package is licensed under the MIT licence.

The content of the readme is provided by Github
The same vendor provides 2 package(s).