Skill 4.2.4
Analyzing real-time log streams (for example, using Amazon Kinesis Data Streams)
Key Concepts
Logs and events flow into Kinesis Data Streams (directly, from CloudWatch Logs subscriptions or from the Kinesis Agent). Consumers such as Lambda (event source mapping with batch windows), Kinesis Client Library applications or Amazon Managed Service for Apache Flink analyse records with windows and aggregations and emit alerts or metrics.
Shards limit throughput (1 MB/s or 1,000 records/s in, 2 MB/s out per shard); on-demand mode scales automatically. Enhanced fan-out gives each consumer its own 2 MB/s per shard. Data is retained 24 hours by default, extendable to 365 days, so it can be replayed.