Skip to Content
AWS Administration - The Definitive Guide - Second Edition
book

AWS Administration - The Definitive Guide - Second Edition

by Yohan Wadia
March 2018
Intermediate to advanced content levelIntermediate to advanced
358 pages
8h 12m
English
Packt Publishing
Content preview from AWS Administration - The Definitive Guide - Second Edition

Creating custom metric filters and alarms for monitoring CloudTrail Logs

With the Log Group created and integrated with the CloudTrail Trail, we can now continue to create and assign custom metric filters as well as alarms. These alarms can be leveraged to trigger notifications whenever a particular compliance or governance issue is identified by CloudTrail.

To begin with, let's first create a custom metric filter using CloudWatch Logs. In this case, we will be creating a simple filter that triggers a CloudWatch alarm each time an S3 bucket API call is made. This API call can be either a simple PUT or DELETE operation on the bucket's policies, life cycle, and so on:

  1. Log in to your Amazon CloudWatch dashboard or, alternatively, select the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

AWS System Administration

AWS System Administration

Mike Ryan, Federico Lucifredi
AWS SysOps Cookbook - Second Edition

AWS SysOps Cookbook - Second Edition

Eric Z. Beard, Rowan Udell, Lucas Chan

Publisher Resources

ISBN: 9781788478793Other