# AWS CloudWatch Logs Integration

By Mona Dadoun. Published 24 May 2018.

UPDATE: Use the latest CloudWatch log integration built on **OpenTelemetry**. Visit the [CloudWatch documentation](/docs/logs-cloudwatch-v2/) for the current setup.

We're excited to announce that we are now integrated with AWS CloudWatch Logs [![AWS Cloudwatch Logs](/img/blog/cloudwatchlogs.png "AWS Cloudwatch Logs") ](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html)

It is now possible to ship RabbitMQ logs of dedicated instances to [AWS CloudWatch Logs](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html). You can use AWS CloudWatch Logs to access your RabbitMQ log files.

You can find all CloudAMQP integration options under _Integration_ tab in the control panel for your instances. ![Cloudwatch Logs integration](/img/blog/cloudwatchlog-integration.png "Cloudwatch Logs integration")

To submit logs to CloudWatch Logs, you need to create an IAM user with programmatic access and the following permissions: _CreateLogGroup, CreateLogStream, DescribeLogGroups, DescribeLogStreams and PutLogEvents._ Copy the following JSON and enter it in AWS console when creating IAM user permissions.

`{ "Effect": "Allow", "Action": ["logs:CreateLogGroup", "logs:CreateLogStream", "logs:DescribeLogGroups", "logs:DescribeLogStreams", "logs:PutLogEvents"], "Resource": "*" }`

Choose an appropriate region and enter the _Amazon Access Key ID_ and _Secret Access Key_ of your Amazon account and press _Enable._

When you’ve completed the steps above, you should be able to see your logs at CloudWatch Logs. ![AWS Cloudwatch Logs](/img/blog/cloudwatchlogsexample.png "AWS Cloudwatch Logs")

Please email us at [contact@cloudamqp.com](mailto:contact@cloudamqp.com) if you have any suggestions or feedback.
