Amazon CloudWatch Logs
Read and search the logs that Lambda, ECS, RDS, DocumentDB, ElastiCache, Amazon MQ and your own apps write to Floci, and forward matching events to a Lambda function or a Kinesis stream.
Features
Log groups
- List log groups with retention, stored bytes and creation date; filter by name prefix (for example
/aws/lambda/) - Create a log group with a retention period
- Edit retention (only the values AWS allows, or Never expire)
- Delete one or more log groups, with their streams, events and subscription filters
- Group page links to the function, database, cluster or broker that writes to it, and shows Stack: X when CloudFormation created it
- Send test event to a log stream (created if it doesn't exist); matching subscription filters deliver it too
Search
- Search events across the group with text, JSON (
{ $.level = "ERROR" }) or space-delimited filter patterns - Time range 15m, 1h, 1d or 7d, and auto refresh
- Each event links to its log stream
Log streams
- List log streams with their last event time
- Open a stream to read its events, with auto refresh and Load older events
Subscription filters
- List filters with pattern and destination, linked to the Lambda function or Kinesis stream
- Create a filter with a name, an optional filter pattern and a Lambda function or Kinesis stream destination
- Delete a filter
Logs on other pages
- Lambda Monitor tab and ECS task logs show events in place, with a View in CloudWatch Logs link
- RDS, DocumentDB, ElastiCache and Amazon MQ pages link to their log groups
Typical workflow
- Open Log groups and filter by prefix, for example
/aws/lambda/. - Select a group; on the Search tab, pick a time range and type a filter pattern such as
ERROR. - Turn on Auto refresh while you reproduce the problem.
- Follow an event's log stream link to read the whole stream around it.
Works with
- AWS Lambda: function logs, and subscription filters that invoke a function
- Amazon ECS: task container logs
- Amazon RDS: database logs
- Amazon DocumentDB: cluster audit logs
- Amazon ElastiCache: cluster engine logs
- Amazon MQ: broker logs
- Amazon Kinesis Data Streams: subscription filters that write to a stream
- AWS CloudFormation: Stack: X link for log groups a stack created
Limitations
- Floci ignores name patterns, so the list filters by prefix only.
- Floci keeps at most 20,000 log events per account.
- Floci delivers subscription filter events to Lambda (
event.awslogs.data, base64 and gzipped) and Kinesis (gzipped JSON) without any permission or role. - Floci accepts a third subscription filter on a group (AWS allows two) and retention values AWS rejects; the form only offers AWS values.
- An EventBridge target pointing at a log group is accepted but never delivers.
- Step Functions and API Gateway write no logs in Floci.