<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>oguguman</author_name>
  <author_url>https://blog.hatena.ne.jp/oguguman/</author_url>
  <blog_title>:&gt;/dev/null</blog_title>
  <blog_url>https://ogugu.hateblo.jp/</blog_url>
  <categories>
    <anon>fluentd</anon>
    <anon>td-agent</anon>
  </categories>
  <description>fluent(td-agent)を使用したlabel切り分けで各label毎にrecord追加する対応が発生したので設定時でのメモ。 sourceディレクティブが複数あり、送信時に特定recordを追加して送りたい場合に有効。 汎用性がありそうな為、調査・対応を下記へ記載しておく。 以下構築要件 sourceディレクティブを各label名にて割り当 各label毎に特定recordを追加 以下td-agent2環境fluentd v0.12以降のバージョン向けの設定例 &lt;source&gt; @id in_redis_server @type tail @label @redis-server re…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fogugu.hateblo.jp%2Fentry%2F2018%2F06%2F29%2F192151&quot; title=&quot;fluentdの複数sourceディレクティブで各label毎に特定record追加 - :&amp;gt;/dev/null&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>2018-06-29 19:21:51</published>
  <title>fluentdの複数sourceディレクティブで各label毎に特定record追加</title>
  <type>rich</type>
  <url>https://ogugu.hateblo.jp/entry/2018/06/29/192151</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
