Amazon CloudWatch
Matrics
- every service sends metrics to CloudWatch
namespaceis a container for metricsmetricis a variable to monitordimensionis a name/value pair that is attributed to a metric- up to 30 dimensions per metric
timestampis the time of the data point- stream data to destination
near real-time
logs
- log data is stored indefinitely
log groupis a container for logslog streamis a sequence of log eventslog eventis a record of some activity- SDK, Elastic Beanstalk, ECS, Lambda, CloudTrail, VPC Flow Logs, Route 53, API Gateway, CloudWatch Unified Agent can send logs to CloudWatch Logs
- log subscription: send logs to Lambda, Kinesis, ElasticSearch, S3
cloudwatch agent
- collect more system-level metrics

CloudWatch Alarms
alarmis a notification that is sent when a metric is inbreachof the threshold- state:
OK,ALARM,INSUFFICIENT_DATA - target: stop, terminate, reboot, recover, start, or snapshot an instance / trigger an Auto Scaling action / send a notification to an SNS topic
- single metric alarm, composite alarm, anomaly detection alarm
CloudWatch Events (EventBridge)
- cron jobs
eventis a change in stateruleis a description of an event patterntargetis a resource that is invoked when a rule is triggeredevent busis a container for eventsevent patternis a JSON object that describes a set of events to match
AWS CloudTrail
CloudTrailis a service that enables governance, compliance, operational auditing, and risk auditing of your AWS account in all region or single regiontrailis a configuration that enables delivery of events as log files to an Amazon S3 bucket- 90 days retention period ## Management Events
management eventsprovide information about management operations that are performed on resources in your AWS account ## Data Eventsdata eventsprovide information about the resource operations performed on or within a resource- by default, data events are not logged
Insights Events
insights eventsprovide insights into the performance and availability of your AWS Account
AWS Config
configis a service that enables you to assess, audit, and evaluate the configurations of your AWS resources