{"id":15614,"date":"2018-11-26T16:51:36","date_gmt":"2018-11-26T07:51:36","guid":{"rendered":"http:\/\/www.skyarch.net\/blog\/?p=15614"},"modified":"2018-11-26T16:52:48","modified_gmt":"2018-11-26T07:52:48","slug":"lambdaedge%e3%81%ae%e3%83%ad%e3%82%b0%e3%81%8c%e8%a6%8b%e3%81%a4%e3%81%8b%e3%82%89%e3%81%aa%e3%81%8f%e3%81%a6%e5%b0%8f%e4%b8%80%e6%99%82%e9%96%93%e7%84%a6%e3%81%a3%e3%81%9f%e8%a9%b1","status":"publish","type":"post","link":"https:\/\/www.skyarch.net\/blog\/lambdaedge%e3%81%ae%e3%83%ad%e3%82%b0%e3%81%8c%e8%a6%8b%e3%81%a4%e3%81%8b%e3%82%89%e3%81%aa%e3%81%8f%e3%81%a6%e5%b0%8f%e4%b8%80%e6%99%82%e9%96%93%e7%84%a6%e3%81%a3%e3%81%9f%e8%a9%b1\/","title":{"rendered":"Lambda@Edge\u306e\u30ed\u30b0\u304c\u898b\u3064\u304b\u3089\u306a\u304f\u3066\u5c0f\u4e00\u6642\u9593\u7126\u3063\u305f\u8a71"},"content":{"rendered":"<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>Lambda@Edge\u304c\u547c\u3070\u308c\u3066\u3044\u308b\u306f\u305a\u306a\u306e\u306b\u3069\u3053\u306b\u3082\u898b\u5f53\u305f\u3089\u306a\u304f\u3066\u7126\u3063\u305f\u8a71\u3002<br \/>\n\u7d50\u8ad6\u304b\u3089\u8a00\u3046\u3068\u3001\u30ed\u30b0\u3082\u30e1\u30c8\u30ea\u30af\u30b9\u3082\u6771\u4eac\u30ea\u30fc\u30b8\u30e7\u30f3\u306b\u3042\u308a\u307e\u3057\u305f...<\/p>\n<blockquote><p>\n  Lambda \u306f\u3001\u95a2\u6570\u304c\u5b9f\u884c\u3055\u308c\u308b\u5834\u6240\u306b\u6700\u3082\u8fd1\u3044 CloudWatch Logs \u30ea\u30fc\u30b8\u30e7\u30f3\u3067 CloudWatch Logs \u30ed\u30b0\u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u5404\u30ed\u30b0\u30b9\u30c8\u30ea\u30fc\u30e0\u306e\u540d\u524d\u306e\u5f62\u5f0f\u306f\u3001\/aws\/lambda\/us-east-1.function-name \u3067\u3059\u3002function-name \u306f\u3001\u95a2\u6570\u3092\u4f5c\u6210\u3057\u305f\u3068\u304d\u306b\u5272\u308a\u5f53\u3066\u305f\u540d\u524d\u3067\u3059\u3002\n<\/p><\/blockquote>\n<p><a href=\"https:\/\/docs.aws.amazon.com\/ja_jp\/AmazonCloudFront\/latest\/DeveloperGuide\/lambda-cloudwatch-metrics-logging.html#lambda-cloudwatch-logs\">https:\/\/docs.aws.amazon.com\/ja_jp\/AmazonCloudFront\/latest\/DeveloperGuide\/lambda-cloudwatch-metrics-logging.html#lambda-cloudwatch-logs<\/a><\/p>\n<h2>\u76ee\u6b21<\/h2>\n<ul>\n<li><a href=\"#phenomenon\">\u906d\u9047\u3057\u305f\u4e8b\u8c61<\/a><\/li>\n<li><a href=\"#matome\">\u307e\u3068\u3081<\/a><\/li>\n<\/ul>\n<h2 id=\"phenomenon\">\u906d\u9047\u3057\u305f\u4e8b\u8c61<\/h2>\n<p>\u52d5\u4f5c\u78ba\u8a8d\u3092\u3057\u3066\u3044\u305f\u6240\u3001Lambda\u95a2\u6570\u304c\u30c7\u30d7\u30ed\u30a4\u3055\u308c\u3066\u3044\u308bN.Virginia\u306eCloudwatch\/CloudWatch Logs\u306b\u3044\u3064\u307e\u3067\u305f\u3063\u3066\u3082\u51fa\u529b\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002<br \/>\n\u4e0b\u8a18\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3001\u554f\u984c\u306a\u3044\u306f\u305a..<\/p>\n<ul>\n<li>Lambda\u95a2\u6570\u306e\u5b9f\u884c\u30ed\u30fc\u30eb\u4e0d\u8db3<\/li>\n<li>console.log \u3092\u901a\u3063\u3066\u306a\u3044?<\/li>\n<\/ul>\n<p>CloudWatch Logs\u306e\u753b\u9762\u3092\u306b\u3089\u3081\u3063\u3053\u3057\u3066\u3044\u305f\u6240<br \/>\n\u4e0b\u8a18\u540d\u524d\u306e\u30ed\u30b0\u304c\u306a\u3093\u3068\u6771\u4eac\u30ea\u30fc\u30b8\u30e7\u30f3\u306b\u51fa\u3066\u3044\u308b\u3058\u3083\u306a\u3044\u3067\u3059\u304b\uff01<\/p>\n<p>\/aws\/lambda\/us-east-1.lambda\u95a2\u6570\u540d<\/p>\n<p>\u30e1\u30c8\u30ea\u30af\u30b9\u3082\u3001Log\u306b\u3082\u30a2\u30af\u30bb\u30b9\u51fa\u6765\u3066\u4e00\u4ef6\u843d\u7740\u3067\u3057\u305f\u3002<\/p>\n<h2 id=\"matome\">\u307e\u3068\u3081<\/h2>\n<p>\u3053\u3061\u3089\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/docs.aws.amazon.com\/ja_jp\/AmazonCloudFront\/latest\/DeveloperGuide\/lambda-cloudwatch-metrics-logging.html#lambda-cloudwatch-logs\">https:\/\/docs.aws.amazon.com\/ja_jp\/AmazonCloudFront\/latest\/DeveloperGuide\/lambda-cloudwatch-metrics-logging.html#lambda-cloudwatch-logs<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b Lambda@Edge\u304c\u547c\u3070\u308c\u3066\u3044\u308b\u306f\u305a\u306a\u306e\u306b\u3069\u3053\u306b\u3082\u898b\u5f53\u305f\u3089\u306a\u304f\u3066\u7126\u3063\u305f\u8a71\u3002 \u7d50\u8ad6\u304b\u3089\u8a00\u3046\u3068\u3001\u30ed\u30b0\u3082\u30e1\u30c8\u30ea\u30af\u30b9\u3082\u6771\u4eac\u30ea\u30fc\u30b8\u30e7\u30f3\u306b\u3042\u308a\u307e\u3057\u305f&#8230; Lambda \u306f\u3001\u95a2\u6570\u304c\u5b9f\u884c\u3055\u308c\u308b\u5834\u6240\u306b\u6700\u3082\u8fd1\u3044 CloudW&#8230;<\/p>\n","protected":false},"author":2,"featured_media":15617,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"ja","_original_post":"15614","footnotes":""},"categories":[20,276],"tags":[],"class_list":{"0":"post-15614","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-aws","8":"category-serverless","9":"ja"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/15614","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/comments?post=15614"}],"version-history":[{"count":4,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/15614\/revisions"}],"predecessor-version":[{"id":15619,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/15614\/revisions\/15619"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media\/15617"}],"wp:attachment":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media?parent=15614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/categories?post=15614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/tags?post=15614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}