{"id":1213,"date":"2025-05-07T11:14:17","date_gmt":"2025-05-07T03:14:17","guid":{"rendered":"https:\/\/aws-oncloudai.com\/?p=1213"},"modified":"2025-05-13T16:24:04","modified_gmt":"2025-05-13T08:24:04","slug":"aws-log-monitoring-cloudtrail-vs-cloudwatch","status":"publish","type":"post","link":"https:\/\/aws-oncloudai.com\/ja\/aws-\u30ed\u30b0\u76e3\u8996-cloudtrail-\u3068-cloudwatch\/","title":{"rendered":"AWS \u30ed\u30b0\u76e3\u8996 CloudTrail \u3068 CloudWatch \u306e\u6bd4\u8f03"},"content":{"rendered":"<p>AWS CloudTrail \u306f\u3001Amazon Web Services (AWS) \u306e\u5225\u306e\u30b5\u30fc\u30d3\u30b9\u3067\u3042\u308a\u3001AWS \u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u76e3\u67fb\u3001\u30ac\u30d0\u30ca\u30f3\u30b9\u3001\u76e3\u8996\u3001\u30b3\u30f3\u30d7\u30e9\u30a4\u30a2\u30f3\u30b9\u3001\u30ea\u30b9\u30af\u76e3\u8996\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<p>CloudWatch \u3068\u306f\u7570\u306a\u308a\u3001CloudTrail \u306f\u3001AWS \u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u95a2\u9023\u3059\u308b\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u306e\u30a4\u30d9\u30f3\u30c8\u5c65\u6b74\u5168\u4f53\u3092\u89b3\u5bdf\u3067\u304d\u308b\u7ba1\u7406\u304a\u3088\u3073\u30ac\u30d0\u30ca\u30f3\u30b9 \u30c4\u30fc\u30eb\u3067\u3059\u3002<\/p>\n<p>CloudTrail \u306f\u3001AWS \u30b3\u30f3\u30bd\u30fc\u30eb\u3001AWS CLI\u3001SDK \u306a\u3069\u306e\u5916\u90e8\u30c4\u30fc\u30eb\u304b\u3089\u751f\u6210\u3055\u308c\u305f\u30a4\u30d9\u30f3\u30c8\u3084\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u8a18\u9332\u3067\u304d\u308b\u30ed\u30b0\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002 CloudTrail \u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30a2\u30ab\u30a6\u30f3\u30c8\u5185\u306e\u7570\u5e38\u306a\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u3092\u7c21\u5358\u306b\u691c\u51fa\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u79c1\u305f\u3061<strong>\u30aa\u30f3\u30af\u30e9\u30a6\u30c9AI<\/strong>\u3053\u306e\u8a18\u4e8b\u306f\u3001Amazon CloudWatch \u3068 CloudTrail \u306e\u9055\u3044\u3092\u7406\u89e3\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<h3>\u5229\u70b9<\/h3>\n<p>\u8a18\u9332\u3055\u308c\u308b\u30a4\u30d9\u30f3\u30c8\u5c65\u6b74\u306b\u3088\u308a\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5206\u6790\u3001\u30ea\u30bd\u30fc\u30b9\u5909\u66f4\u306e\u8ffd\u8de1\u3001\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u304c\u5927\u5e45\u306b\u7c21\u7d20\u5316\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u4ed5\u7d44\u307f<\/h3>\n<div>\n<div>\n<p>AWS CloudTrail \u306f\u3001\u7279\u5b9a\u306e AWS \u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3067\u5b9f\u884c\u3055\u308c\u305f\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u3092\u8a18\u9332\u3057\u3001\u7570\u5e38\u306a API \u306e\u4f7f\u7528\u3092\u691c\u51fa\u3057\u3001\u3055\u3089\u306b\u30a4\u30d9\u30f3\u30c8\u8ffd\u8de1\u3068\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u306e\u30ed\u30b0\u8a18\u9332\u3082\u884c\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30a4\u30d9\u30f3\u30c8\u306f\u3001AWS CloudTrail \u30b3\u30f3\u30bd\u30fc\u30eb\u3001CloudWatch \u30ed\u30b0\u3001S3 \u30d0\u30b1\u30c3\u30c8\u306b\u914d\u4fe1\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>CloudWatch \u30a4\u30d9\u30f3\u30c8\u3068\u30a2\u30e9\u30fc\u30e0\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001CloudTrail \u306f\u7570\u5e38\u306a\u30a4\u30d9\u30f3\u30c8\u3092\u691c\u51fa\u3057\u305f\u3068\u304d\u306b\u5fc5\u8981\u306a\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u306f\u3001CloudTrail \u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u6700\u8fd1\u306e\u3059\u3079\u3066\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3068\u30a4\u30d9\u30f3\u30c8\u3092\u8868\u793a\u3067\u304d\u3001\u5c65\u6b74\u3092\u4f7f\u7528\u3057\u3066 CloudTrail \u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3 \u30ec\u30b3\u30fc\u30c9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/div>\n<\/div>\n<h3><strong>CloudWatch\u3068CloudTrail\u306e\u9055\u3044<\/strong><\/h3>\n<table style=\"border-collapse: collapse; width: 100%; height: 241px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 13.6422%; text-align: center; height: 24px;\"><strong>\u6bd4\u8f03\u9805\u76ee<\/strong><\/td>\n<td style=\"width: 41.6988%; text-align: center; height: 24px;\"><strong>\u30af\u30e9\u30a6\u30c9\u30a6\u30a9\u30c3\u30c1<\/strong><\/td>\n<td style=\"width: 44.6589%; text-align: center; height: 24px;\"><strong>\u30af\u30e9\u30a6\u30c9\u30c8\u30ec\u30a4\u30eb<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 96px;\">\n<td style=\"width: 13.6422%; height: 96px; text-align: center;\">\u76e3\u8996\u65b9\u5411<\/td>\n<td style=\"width: 41.6988%; height: 96px; text-align: left;\">AWS \u30ea\u30bd\u30fc\u30b9\u3068\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u76e3\u8996\u30b5\u30fc\u30d3\u30b9\u3067\u3001AWS \u30ea\u30bd\u30fc\u30b9\u306e\u5909\u66f4\u3092\u793a\u3059\u30b7\u30b9\u30c6\u30e0\u30a4\u30d9\u30f3\u30c8\u306e\u307b\u307c\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306e\u30b9\u30c8\u30ea\u30fc\u30e0\u3067\u3042\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30ed\u30b0\u3092\u5831\u544a\u3057\u307e\u3059\u3002<\/td>\n<td style=\"width: 44.6589%; height: 96px; text-align: left;\">AWS \u30a2\u30ab\u30a6\u30f3\u30c8\u306e API \u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u3092\u8a18\u9332\u3057\u3001AWS \u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u4f55\u304c\u8d77\u3053\u3063\u3066\u3044\u308b\u304b\u306b\u3064\u3044\u3066\u306e\u8a73\u7d30\u306a\u60c5\u5831\u3092\u63d0\u4f9b\u3059\u308b Web \u30b5\u30fc\u30d3\u30b9\u3002\u3053\u308c\u306f\u3001AWS \u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u884c\u308f\u308c\u305f AWS API \u547c\u3073\u51fa\u3057\u306b\u91cd\u70b9\u3092\u7f6e\u3044\u305f\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr style=\"height: 49px;\">\n<td style=\"width: 13.6422%; height: 49px; text-align: center;\">\u57fa\u672c\u64cd\u4f5c<\/td>\n<td style=\"width: 41.6988%; height: 49px; text-align: left;\">EC2\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3001EBS\u30dc\u30ea\u30e5\u30fc\u30e0\u3001RDS DB\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306a\u3069\u306e\u30ea\u30bd\u30fc\u30b9\u306b\u5bfe\u3057\u3066\u3001\u7121\u6599\u306e\u57fa\u672c\u76e3\u8996\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u63d0\u4f9b\u3055\u308c\u307e\u3059\u3002<\/td>\n<td style=\"width: 44.6589%; height: 49px; text-align: left;\">AWS \u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3068\u3001CloudTrail \u3082\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u6709\u52b9\u306b\u306a\u308a\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr style=\"height: 48px;\">\n<td style=\"width: 13.6422%; height: 48px; text-align: center;\">\u80fd\u529b<\/td>\n<td style=\"width: 41.6988%; height: 48px; text-align: left;\">\u30e1\u30c8\u30ea\u30af\u30b9\u3092\u53ce\u96c6\u3057\u3066\u8ffd\u8de1\u3057\u3001\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u53ce\u96c6\u3057\u3066\u76e3\u8996\u3057\u3001\u30a2\u30e9\u30fc\u30c8\u3092\u8a2d\u5b9a\u3059\u308b<\/td>\n<td style=\"width: 44.6589%; height: 48px; text-align: left;\">\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u884c\u3063\u305f\u30e6\u30fc\u30b6\u30fc\u3001\u4f7f\u7528\u3055\u308c\u305f\u30b5\u30fc\u30d3\u30b9\u3001\u5b9f\u884c\u3055\u308c\u305f\u64cd\u4f5c\u3001\u64cd\u4f5c\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3001AWS \u30b5\u30fc\u30d3\u30b9\u306b\u3088\u3063\u3066\u8fd4\u3055\u308c\u305f\u30ec\u30b9\u30dd\u30f3\u30b9\u8981\u7d20\u306a\u3069\u306e\u60c5\u5831\u304c\u8a18\u9332\u3055\u308c\u3001\u6307\u5b9a\u3055\u308c\u305f\u5834\u6240\u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 13.6422%; height: 24px; text-align: center;\">\u76e3\u8996\u983b\u5ea6<\/td>\n<td style=\"width: 41.6988%; height: 24px; text-align: left;\">\u57fa\u672c\u76e3\u8996\u3067\u306f\u6307\u6a19\u30c7\u30fc\u30bf\u306f 5 \u5206\u5468\u671f\u3067\u914d\u4fe1\u3055\u308c\u3001\u8a73\u7d30\u76e3\u8996\u3067\u306f\u6307\u6a19\u30c7\u30fc\u30bf\u306f 1 \u5206\u5468\u671f\u3067\u914d\u4fe1\u3055\u308c\u307e\u3059\u3002\u30ed\u30b0\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u30675\u79d2\u3054\u3068\u306b\u30ed\u30b0\u30c7\u30fc\u30bf\u3092\u9001\u4fe1\u3057\u307e\u3059<\/td>\n<td style=\"width: 44.6589%; height: 24px; text-align: left;\">\u30a4\u30d9\u30f3\u30c8\u306fAPI\u547c\u3073\u51fa\u3057\u304b\u308915\u5206\u4ee5\u5185\u306b\u5229\u7528\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><b>\u30aa\u30f3\u30af\u30e9\u30a6\u30c9AI<\/b>AWS \u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3068\u3057\u3066\u3001Amazon \u30af\u30e9\u30a6\u30c9 \u30b5\u30fc\u30d3\u30b9\u306e\u63d0\u4f9b\u3001Amazon \u30af\u30e9\u30a6\u30c9 \u30b5\u30fc\u30d0\u30fc\u306e AWS \u652f\u6255\u3044\u306e\u30b5\u30dd\u30fc\u30c8\u3001AWS \u79fb\u884c\u3001AWS \u904b\u7528\u4fdd\u5b88\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u306a\u3069\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u95a2\u9023\u3059\u308b\u30cb\u30fc\u30ba\u304c\u3054\u3056\u3044\u307e\u3057\u305f\u3089\u3001\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002<strong>\u30aa\u30f3\u30af\u30e9\u30a6\u30c9AI<\/strong>\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>AWS CloudTrail \u306f\u3001Amazon Web Services (AWS) \u306e\u5225\u306e\u30b5\u30fc\u30d3\u30b9\u3067\u3042\u308a\u3001AWS \u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u76e3\u67fb\u3001\u30ac\u30d0\u30ca\u30f3\u30b9\u3001\u76e3\u8996\u3001\u30b3\u30f3\u30d7\u30e9\u30a4\u30a2\u30f3\u30b9\u3001\u30ea\u30b9\u30af\u76e3\u8996\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<br \/>\nCloudWatch \u3068\u306f\u7570\u306a\u308a\u3001CloudTrail \u306f\u3001AWS \u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u95a2\u9023\u3059\u308b\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u306e\u30a4\u30d9\u30f3\u30c8\u5c65\u6b74\u5168\u4f53\u3092\u89b3\u5bdf\u3067\u304d\u308b\u7ba1\u7406\u304a\u3088\u3073\u30ac\u30d0\u30ca\u30f3\u30b9 \u30c4\u30fc\u30eb\u3067\u3059\u3002<br \/>\nCloudTrail \u306f\u3001AWS \u30b3\u30f3\u30bd\u30fc\u30eb\u3001AWS CLI\u3001SDK \u306a\u3069\u306e\u5916\u90e8\u30c4\u30fc\u30eb\u304b\u3089\u751f\u6210\u3055\u308c\u305f\u30a4\u30d9\u30f3\u30c8\u3084\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u8a18\u9332\u3067\u304d\u308b\u30ed\u30b0\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002 CloudTrail \u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30a2\u30ab\u30a6\u30f3\u30c8\u5185\u306e\u7570\u5e38\u306a\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u3092\u7c21\u5358\u306b\u691c\u51fa\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>","protected":false},"author":1,"featured_media":1214,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[65],"tags":[],"class_list":["post-1213","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technical-sharing"],"_links":{"self":[{"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/posts\/1213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/comments?post=1213"}],"version-history":[{"count":0,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/posts\/1213\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/media\/1214"}],"wp:attachment":[{"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/media?parent=1213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/categories?post=1213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/tags?post=1213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}