🔷

CloudWatch Logs Insights

  • Interactive log analytics tool for searching and analyzing log data in CloudWatch Logs.
  • Uses a purpose-built query language for:
    • Filtering events
    • Extracting and aggregating fields
    • Calculating statistics
    • Sorting and limiting results
  • Automatically discovers fields from AWS service logs and JSON-formatted events.
  • Key features:
    • Query multiple Log Groups at once, even across AWS accounts
    • Save queries and add them to CloudWatch Dashboards
    • Visualize query results directly in the console
  • Example use cases:
    • Find a specific IP in access logs
    • Count occurrences of "ERROR"
    • Track request latency trends
  • Important note: This is a query engine for stored logs, not a real-time stream processor.