Forwards logs from CloudWatch to New Relic via Amazon Kinesis Data Firehose.
- Install the AWS SAM CLI. Refer SAM CLI Documentation
To try-out this integration, deploy the CloudFormation template (firehose-template.yml
) using the sam
CLI. Ensure AWS is authenticated with the desired account.
To build and package, follow these steps:
-
Authenticate with your AWS account details.
-
Create an S3 bucket with name. For example,
test123
. -
To create the project build, run:
sam build --template-file firehose-template.yaml
Note: By default, build will be available at
.aws-sam/build
with the generatedtemplate.yaml
-
To package the build, run:
sam package --s3-bucket test123 --template-file .aws-sam/build/template.yaml --output-template-file firehose-template.yaml --region us-east-2
-
Copy the main template file to the S3 bucket using:
aws s3 cp .aws-sam/build/firehose-template.yaml s3://test123/firehose-template.yaml