<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mtiit</author_name>
  <author_url>https://blog.hatena.ne.jp/mtiit/</author_url>
  <blog_title>(O+P)ut</blog_title>
  <blog_url>https://www.mtioutput.com/</blog_url>
  <categories>
    <anon>AWS</anon>
  </categories>
  <description>やりたいこと AWSのCloudWatchLogsのロググループを指定し、S3にログ情報を退避する。 環境情報 aws-cli/2.15.5 やり方 以下のようにロググループとS3のバケットを指定し、ログの範囲をUNIX時間で与える。 $ aws logs create-export-task --task-name &quot;test&quot; --log-group-name &quot;/aws/test/&quot; --from 1746834146000 --to 1747698146000 --destination &quot;s3-test&quot; --destination-prefix &quot;hoge&quot;すると標準出力にエクスポ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mtioutput.com%2Fentry%2Faws-cloudwatch-exportcli&quot; title=&quot;【AWS】CLIを用いてCloudWatchLogsのログをS3にエクスポートする - (O+P)ut&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/m/mtiit/20230607/20230607124837.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-05-21 08:46:04</published>
  <title>【AWS】CLIを用いてCloudWatchLogsのログをS3にエクスポートする</title>
  <type>rich</type>
  <url>https://www.mtioutput.com/entry/aws-cloudwatch-exportcli</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
