Amazon CloudWatch | Log Management Flashcards
Can I use regular expressions with my log data?
Log Management
Amazon CloudWatch | Management Tools
Amazon CloudWatch Metric Filters does not support regular expressions. To process your log data with regular expressions, consider using Amazon Kinesis and connect the stream with a regular expression processing engine.
How do I retrieve my log data?
Log Management
Amazon CloudWatch | Management Tools
You can retrieve any of your log data using the CloudWatch Logs console or through the CloudWatch Logs CLI. Log events are retrieved based on the Log Group, Log Stream and time with which they are associated. The CloudWatch Logs API for retrieving log events is GetLogEvents.
How do I search my logs?
Log Management
Amazon CloudWatch | Management Tools
You can use the CLI to retrieve your log events and search through them using command line grep or similar search functions.