The following procedure and examples show how to create metric filters.
Create a metric filter for a log group
Example: Count log events
Example: Count occurrences of a term
Example: Count HTTP 404 codes
Example: Count HTTP 4xx codes
Example: Extract fields from an Apache log and assign dimensions
Javascript is disabled or is unavailable in your browser.
To use the Amazon Web Services Documentation, Javascript must be enabled. Please refer to your browser's Help pages for instructions.
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.