The AWS service whose shards accept log records from many producers in real time, keep them for 24 hours by default (up…