Logging Services

Cards (18)

  • CloudTrail - logs all API calls (SDK, CLI) between AWS services (who can we blame).
  • CloudWatch is a collection of multiple services.
  • CloudWatch Logs is a centralized place to store your cloud services log data or application logs.
  • CloudWatch Metrics represent a time-ordered set of data points. It is a variable to monitor.
  • CloudWatch Events (EventBridge) is a trigger for an event based on condition e.g. every hour take snapshot of server.
  • CloudWatch Alarms is a trigger for notification based on metrics.
  • CloudWatch Dashboard is a visualization created based on metrics.
  • AWS X-Ray is a distributed tracing system where you can use it to pinpoint issues with your microservices and see how data moves from one app to another, how long it took or if it failed to move.
  • AWS CloudTrail is a service that enables governance, compliance, operational auditing and risk auditing of your AWS account.
  • CloudTrail is already logging by default and will collect logs for last 90 days via Event History.
  • If you need more than 90 days for CloudTrail data you nee to create a "Trail"
  • Trails are outputted to S3 and do not have GUI. To analyze a trail you'd have to use Amazon Athena.
  • CloudWatch Alarms monitor a cloudwatch metric based on defined threshhold.
  • CloudWatch Alarms states:
    1. OK - the metric or expression is within the defined threshold.
    2. ALARM - is when the metric or expression is outside the defined threshold.
    3. INSUFFICIENT DATA - alarm just started and not enough data.
  • Log Stream represents a sequence of events from an application or instance being monitored.
  • Log Events represents a single event in a log file which can be seen within a Log Stream.
  • Log Insights enables you to interactivvely search and analyze your CloudWatch log data. It is more robust filteringthan using simple filter events. It is less burdensome than having to export logs to S3 and analyze them via Athena.
  • CloudWatch Metric which represents a time-ordered set of data points. It is a variable that is monitored over time.