<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ganmacs</author_name>
  <author_url>https://blog.hatena.ne.jp/ganmacs/</author_url>
  <blog_title>memo-mode</blog_title>
  <blog_url>https://ganmacs.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>fluentd</anon>
    <anon>mongoDB</anon>
  </categories>
  <description>まずは，rubyでログを吐いてそのログをfluentdで拾ってみる． その後，mongoDBに保存する方法を書く． 準備 bundlerを使って管理するので以下を実行． $ mkdir sample $ cd sample $ bundle init bundle initで作成された./Gemfileに以下を追加． gem 'fluentd' gem 'fluent-logger' gem 'fluent-plugin-mongo' gem 'bson_ext' その後$ bundle insall --path vendor/bundleする． fluentdの設定ファイルを作る # カレ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fganmacs.hatenablog.com%2Fentry%2F2013%2F10%2F19%2F140718&quot; title=&quot;fluentdをつかってrubyのログをmongoDBへ保存 - memo-mode&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-10-19 14:07:18</published>
  <title>fluentdをつかってrubyのログをmongoDBへ保存</title>
  <type>rich</type>
  <url>https://ganmacs.hatenablog.com/entry/2013/10/19/140718</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
