<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://shiyoka.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://shiyoka.com/feed.php">
        <title>ClownWiki - fluentd</title>
        <description></description>
        <link>https://shiyoka.com/</link>
        <image rdf:resource="https://shiyoka.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-05-08T13:23:58+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://shiyoka.com/doku.php?id=fluentd:fluent-plugin&amp;rev=1739713984&amp;do=diff"/>
                <rdf:li rdf:resource="https://shiyoka.com/doku.php?id=fluentd:fluentd-log&amp;rev=1739713984&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://shiyoka.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>ClownWiki</title>
        <link>https://shiyoka.com/</link>
        <url>https://shiyoka.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://shiyoka.com/doku.php?id=fluentd:fluent-plugin&amp;rev=1739713984&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-16T13:53:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>fluent-plugin</title>
        <link>https://shiyoka.com/doku.php?id=fluentd:fluent-plugin&amp;rev=1739713984&amp;do=diff</link>
        <description>FluentdのPlugin

fluent-plugin-mysql

&lt;https://github.com/tagomoris/fluent-plugin-mysql&gt;
ログをMySQLのテーブルに直接インサートする。

Install


/opt/td-agent/embedded/bin/fluent-gem install fluent-plugin-mysql


Configuration Sample


&lt;match output.by.names.*&gt;
    type mysql
    host ホスト名
    port ポート名
    database データベース名
    username ユーザー
    password パスワード
    key_names sourceをformatで展開したときの各項目をカンマ区切りで羅列：e.g. time,name,path
    columns テーブルのカラム名をカンマ区切りで羅列：e.g. time,name,path
    table テーブル名
    flush_interval 10…</description>
    </item>
    <item rdf:about="https://shiyoka.com/doku.php?id=fluentd:fluentd-log&amp;rev=1739713984&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-16T13:53:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>fluentd-log</title>
        <link>https://shiyoka.com/doku.php?id=fluentd:fluentd-log&amp;rev=1739713984&amp;do=diff</link>
        <description>Fluentdでログ収集

インストール

リポジトリ追加


# vi /etc/yum.repos.d/td.repo



[treasuredata]
name=TreasureData
baseurl=http://packages.treasure-data.com/redhat/$basearch
gpgcheck=0


インストール


# yum -y install td-agent</description>
    </item>
</rdf:RDF>
