<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ohsawa0515</author_name>
  <author_url>https://blog.hatena.ne.jp/ohsawa0515/</author_url>
  <blog_title>本日も乙</blog_title>
  <blog_url>https://blog.jicoman.info/</blog_url>
  <categories>
    <anon>GCP</anon>
    <anon>Linux</anon>
  </categories>
  <description>昨日 Ubuntu 20.04 LTS で Bash のコマンド履歴を syslog に出力する方法を紹介しました。 blog.jicoman.info 実際にログを確認するときに、一々サーバにログインするのが面倒ですよね。今回は要件で GCP（GCE インスタンス）だったので Cloud Logging（Stackdriver Logging）に syslog を転送するようにしたのでその方法を紹介します。 環境 GCP（GCE インスタンス） Ubuntu 20.04.1 LTS Bash 5.0.17 前回を参照にすでに Bash 履歴を syslog に出力できている前提ですすめます。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.jicoman.info%2F2020%2F10%2Ftransfer-cloud-logging-bash-syslog-history%2F&quot; title=&quot;syslogに出力したBashコマンドをCloud Loggingに転送する - 本日も乙&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://contents.blog.jicoman.info/image/cloud-logging.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-10-08 08:00:00</published>
  <title>syslogに出力したBashコマンドをCloud Loggingに転送する</title>
  <type>rich</type>
  <url>https://blog.jicoman.info/2020/10/transfer-cloud-logging-bash-syslog-history/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
