Home icon

Profile your Amazon CloudWatch Logs estate with an AWS DevOps Agent skill in sandbox, no infrastructure to deploy

AWS Cloud Operations Blog



This article demonstrates how to build an AWS DevOps Agent skill that profiles your entire Amazon CloudWatch Logs estate in one view, showing log group classification, retention, usage patterns, subscription destinations, and estimated costs without requiring any standing infrastructure.

  • Create a reusable skill bundling a Python analyzer script that runs in Sandbox during investigations
  • Profile every log group across five dimensions: inventory, volume/cost, consumption, integrations, and optimization opportunities
  • Identify optimization candidates like Standard-class groups with no metric filters or subscription filters suitable for Infrequent Access
  • Detect passive log groups with no configured consumers and map subscription filter destinations
  • Run analysis on-demand or schedule with EventBridge Scheduler and Lambda for regular cadence reviews
  • Batch GetMetricData calls and run concurrent describe operations to minimize API round trips and wall-clock time

The skill treats your log estate as one system, correlating CloudWatch signals to present actionable options rather than mandates, enabling informed decisions about log group optimization and cost management at scale.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Aug 6
2026
Use CloudWatch syslog and Log Alarms to give AWS DevOps Agent on-premises visibility
Aug 28
2026
Amazon CloudWatch agent adds support for journald logs
Nov 9
2026
Amazon CloudWatch Logs announces account-level retention policies
Nov 2
2026
Extending AWS DevOps Agent with Skills, Model Context Protocol (MCP) Servers, Custom Agents and Connectors

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.