Overview
The AWS CloudWatch Logs integration uses CloudWatch Logs Insights queries to fetch entries from any log group. Common use cases:
- Lambda function execution and error logs
- ECS task and Fargate container logs
- RDS error logs
- Custom application logs delivered to CloudWatch
Prerequisites
- A CloudWatch log group containing the data you want to ingest.
- IAM credentials for a user or role with read access to that log group.
Step 1: Identify the log group
- Open the AWS Console → CloudWatch → Logs → Log groups.
- Locate or create the log group you want to ingest from (for example,
/aws/lambda/my-function-logs). - Note the exact log group name and its AWS Region.
Step 2: Create an IAM user for CloudWatch Logs
- Open IAM → Users → Create user, name it
atatus-cloudwatch-reader. - Attach an inline policy allowing:
logs:DescribeLogGroupslogs:DescribeLogStreamslogs:GetLogEventslogs:FilterLogEventslogs:StartQuery,logs:GetQueryResults,logs:StopQuery
- Scope the policy to the specific log group ARN(s) you want Atatus to read.
- Open Security credentials → Create access key, choose Application running outside AWS, and copy both the Access key ID and Secret access key.
Step 3: Connect AWS CloudWatch Logs in Atatus
- In Atatus, go to Security → Cloud SIEM → Integrations.
- Locate the AWS CloudWatch Logs card and click Connect.
- Fill in the form:
| Field | Description | Example |
|---|---|---|
| AWS Access Key ID | IAM user access key from Step 2. | AKIA... |
| AWS Secret Access Key | The matching secret key. | •••••••• |
| AWS Region | Region of the log group. | us-east-1 |
| Log Group Name | Full log group path. | /aws/lambda/my-function-logs |
| Query String | CloudWatch Logs Insights query that selects the entries to fetch. | `fields @timestamp, @message \ |
| Poll Interval (minutes) | How often to run the query. | 5 |
| Enabled | Turn collection on. | true |
- Click Connect.
Tip: Use the Query String field to filter noisy log groups — for example,
fields @timestamp, @message | filter @message like /ERROR/only ingests error entries.
Verification
- The AWS CloudWatch Logs card shows Configured.
- Log entries appear in Security → Cloud SIEM → Audit Logs → Events with source
aws_cloudwatch.
+1-415-800-4104