<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xkumiyu</author_name>
  <author_url>https://blog.hatena.ne.jp/xkumiyu/</author_url>
  <blog_title>テクめも</blog_title>
  <blog_url>https://tech-memo.hatenablog.jp/</blog_url>
  <categories>
    <anon>AWS</anon>
    <anon>CLI</anon>
  </categories>
  <description>CloudWatchのログの確認はAWSコンソールや公式のCLIよりもawslogsのほうが便利です。 pecoと連携することで、さらに便利になります。 以下のようなfunctionを.bashrcとかに書いておきます。（※zshで動作確認しています。） awslog() { local res=$(awslogs groups | peco --query &quot;$LBUFFER&quot;) if [ -n &quot;$res&quot; ]; then awslogs get ${res} $@ fi } $ awslog とfunctionを呼び出すと、awslogs groupsが実行され、存在するロググループ一覧…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech-memo.hatenablog.jp%2Fentry%2Fawslogs-peco&quot; title=&quot;CloudWatchのログ確認を便利にする - テクめも&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.user.blog.st-hatena.com/default_entry_og_image/101358585/1543659980958932</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-04 10:00:00</published>
  <title>CloudWatchのログ確認を便利にする</title>
  <type>rich</type>
  <url>https://tech-memo.hatenablog.jp/entry/awslogs-peco</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
