{"provider_name":"Hatena Blog","url":"https://www.mtioutput.com/entry/aws-cloudwatch-exportcli","author_name":"mtiit","published":"2025-05-21 08:46:04","title":"\u3010AWS\u3011CLI\u3092\u7528\u3044\u3066CloudWatchLogs\u306e\u30ed\u30b0\u3092S3\u306b\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mtioutput.com%2Fentry%2Faws-cloudwatch-exportcli\" title=\"\u3010AWS\u3011CLI\u3092\u7528\u3044\u3066CloudWatchLogs\u306e\u30ed\u30b0\u3092S3\u306b\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b - (O+P)ut\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","version":"1.0","blog_url":"https://www.mtioutput.com/","blog_title":"(O+P)ut","provider_url":"https://hatena.blog","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/m/mtiit/20230607/20230607124837.png","width":"100%","type":"rich","author_url":"https://blog.hatena.ne.jp/mtiit/","categories":["AWS"],"description":"\u3084\u308a\u305f\u3044\u3053\u3068 AWS\u306eCloudWatchLogs\u306e\u30ed\u30b0\u30b0\u30eb\u30fc\u30d7\u3092\u6307\u5b9a\u3057\u3001S3\u306b\u30ed\u30b0\u60c5\u5831\u3092\u9000\u907f\u3059\u308b\u3002 \u74b0\u5883\u60c5\u5831 aws-cli/2.15.5 \u3084\u308a\u65b9 \u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30ed\u30b0\u30b0\u30eb\u30fc\u30d7\u3068S3\u306e\u30d0\u30b1\u30c3\u30c8\u3092\u6307\u5b9a\u3057\u3001\u30ed\u30b0\u306e\u7bc4\u56f2\u3092UNIX\u6642\u9593\u3067\u4e0e\u3048\u308b\u3002 $ aws logs create-export-task --task-name \"test\" --log-group-name \"/aws/test/\" --from 1746834146000 --to 1747698146000 --destination \"s3-test\" --destination-prefix \"hoge\"\u3059\u308b\u3068\u6a19\u6e96\u51fa\u529b\u306b\u30a8\u30af\u30b9\u30dd\u2026"}