Destinations: Streaming

Cloudwatch (Streaming)

Amazon CloudWatch is a comprehensive monitoring and observability service provided by Amazon Web Services (AWS) that enables users to collect, analyze, and visualize logs, metrics, and traces from various AWS resources and applications in real-time.

By connecting Cloudwatch to your ProxyHook account you can easily store any data into Cloudwatch such as logs

Connecting Cloudwatch (IAM Role Setup - General Setup)

To integrate Cloudwatch into your ProxyHook you first need to create an IAM role for ProxyHook within your AWS account. If you've already done this, you can skip to the next section

  1. Log into your AWS account and head to 'Identity and Access Management (IAM)'
  2. Click 'Create Role'
  3. Select 'AWS account' and select 'Another AWS Account' with the value 121269227306
  4. Skip the permissions policy page by clicking 'Next'
  5. Provide a name for the role (e.g. ProxyHook) and click Create Role
  6. Note the ARN Role for your Cloudwatch Settings in the ProxyHook Settings page

Connecting Cloudwatch (IAM Role Setup - Permissions)

In order to have records posted to your Cloudwatch account, you will need to ensure your ProxyHook IAM account has permissions. To do so, follow these steps:

  1. Log into your AWS account and head to 'Identity and Access Management (IAM)' > 'Roles'
  2. Select your role made from above and under Permissions, Select Add permissions > Create Inline Police
  3. Click JSON and paste the following, editing the code where variables exist
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [ "logs:*"],
            "Resource": "arn:aws:logs:YOUR_REGION:YOUR_ACCOUNT_ID:log-group:YOUR_GROUP_NAME:*"
        }
    ]
}
  1. Click next, create a policy name and hit save. If done correctly, the IAM role will now be able to write to cloudwatch
Previous
S3