Amazon CloudWatch | Log Management Flashcards

1
Q

Can I use regular expressions with my log data?

Log Management

Amazon CloudWatch | Management Tools

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do I retrieve my log data?

Log Management

Amazon CloudWatch | Management Tools

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do I search my logs?

Log Management

Amazon CloudWatch | Management Tools

A

You can use the CLI to retrieve your log events and search through them using command line grep or similar search functions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly