<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Logging on Micheam&#39;s TechBlog</title>
    <link>https://blog.micheam.com/tags/logging/</link>
    <description>Recent content in Logging on Micheam&#39;s TechBlog</description>
    <generator>Hugo</generator>
    <language>ja</language>
    <lastBuildDate>Tue, 30 Aug 2022 12:24:45 +0900</lastBuildDate><atom:link href="https://blog.micheam.com/tags/logging/index.xml" rel="self" type="application/rss+xml" /><item>
      <title>Google Cloud CLI: ログエントリ を tail -f する</title>
      <link>https://blog.micheam.com/2022/08/30/google-cloud-cli-live-tailing-log-entries/</link>
      <pubDate>Tue, 30 Aug 2022 12:24:45 +0900</pubDate>
      
      <guid>https://blog.micheam.com/2022/08/30/google-cloud-cli-live-tailing-log-entries/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: 2024-02-22 現在、当該機能は BETA に移行しているようです。詳細については &lt;a href=&#34;https://cloud.google.com/sdk/gcloud/reference/beta/logging/tail&#34;&gt;gcloud beta logging tail&lt;/a&gt; を参照してみてください。&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;a href=&#34;https://cloud.google.com/sdk/docs&#34;&gt;Google Cloud CLI&lt;/a&gt; に &lt;a href=&#34;https://cloud.google.com/logging&#34;&gt;Cloud Logging&lt;/a&gt; のエントリーを &lt;code&gt;tail -f&lt;/code&gt; する機能があったことに気づいたので、備忘として記事にしておこうと思います。&lt;/p&gt;
&lt;p&gt;Google Cloud でのログは &lt;a href=&#34;https://cloud.google.com/logging&#34;&gt;Cloud Logging&lt;/a&gt; に集約されており、&lt;a href=&#34;https://cloud.google.com/sdk/docs&#34;&gt;Google Cloud CLI&lt;/a&gt; の &lt;code&gt;logging read&lt;/code&gt; コマンドを使うのが便利ですが、&lt;a href=&#34;https://cloud.google.com/sdk/gcloud/reference/logging/read&#34;&gt;gcloud logging read&lt;/a&gt; は待機して出力されるログを随時出力するようなオプション（いわゆる &lt;code&gt;tail -f&lt;/code&gt;）は存在していません。これらの機能は 2022年08月現在は &lt;code&gt;alpha&lt;/code&gt; な機能として提供されているようで。 &lt;code&gt;gcloud alpha tail&lt;/code&gt; として利用が可能です。&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
